simplify drag toggle operator, use BLI_rctf_isect_segment between mouse events rather then many calls to ui_but_find_mouse_over().


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54864 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#34423] Foreach_get crash for any non existant attribute
also improve exception messages.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54865 954f8c5b-7b00-dc11-b283-0030488c597c
correction to previous commit with empty collections.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54866 954f8c5b-7b00-dc11-b283-0030488c597c
Fix OS X build error with Quicktime, need <stdio.h> for FILE usage.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54868 954f8c5b-7b00-dc11-b283-0030488c597c
OpenGL: implemenation of fixed function lighting as per pixel GLSL shaders. The
code is still unused, but the intention is to use this to solve the double sided
lighting problem on NVidia, and to make the materials work on OpenGL ES 2.0
eventually.

The code works and matches the fixed function lighting pretty much exactly, but
still needs optimizations. The actual integration in object draw will be
committed later when more fixing & testing, there's lots of different combinations
and unclear OpenGL state here.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54869 954f8c5b-7b00-dc11-b283-0030488c597c
CMake: update cmake.txt documentation to remove some old information and link
to the wiki for detailed cmake build setup instructions.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54870 954f8c5b-7b00-dc11-b283-0030488c597c
SVN maintenance.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54871 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#34415] Edge slide results in segmentation fault on certain mesh


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54875 954f8c5b-7b00-dc11-b283-0030488c597c
add ctest for keyconfig_utils to check for missing items.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54877 954f8c5b-7b00-dc11-b283-0030488c597c
patch [#34437] Fix text editor bug: ctrl+F is not configurable
in fact the keymap editor was missing other keymaps so added these too,
also updated keymap checker to make sure there is no mismatch with region/space types.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54878 954f8c5b-7b00-dc11-b283-0030488c597c
fix for own regression in win32 from r54225, wrong args used in getAllDisplayDimensions()
caused bug [#34391] Window position not saving correctly for next start-up


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54879 954f8c5b-7b00-dc11-b283-0030488c597c
Camera tracking: switch euclidean intersection code to use Ceres

Would not expect any significant changes in solver behavior, but
it could be more accurate in some cases.

Switching projective intersection to ceres is marked as a TODO
for now.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54880 954f8c5b-7b00-dc11-b283-0030488c597c
Camera tracking: support refining radial K1, K2 only

This commits adds extra refirenment entry in the menu which is
"K1, K2" and which will apparently refine only this distortion
coefficients.

This would be useful in cases when you know for sure focal length
(which could be obtained from lens, EXIF and so) but not sure
about how good you manual calibration is.

Be careful tho, there're no internal constraints on this
coefficients so distortion model could just screw up into insane
values.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54881 954f8c5b-7b00-dc11-b283-0030488c597c
fix own regression since 2.65 [#34438] Solidify crease bug


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54882 954f8c5b-7b00-dc11-b283-0030488c597c
Add missing select menu for weight, vertex, texture paint modes.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54883 954f8c5b-7b00-dc11-b283-0030488c597c
Fix [#34444] Curve: Select Nth Number of Points

Just use default op name, as for meshes!

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54884 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #34421: cycles viewport render stuck with no objects in the scene.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54885 954f8c5b-7b00-dc11-b283-0030488c597c
Use threaded cost function and jacobian computation
Also made it theraded linear solver, seems it makes
sense for iterative schur with inner iterations
enabled.

Use OpenMO's max therads called from bundler code
to detect how many threads to use. Could be changed
in a way that number of threads is passing in options
from blender side in the future.

Also removed redundant V3D definition from compiler's
flags.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54886 954f8c5b-7b00-dc11-b283-0030488c597c
Dependency Graph: refactoring to move private functions to the private header,
and add more documentation about the public functions. Also removed unused graph
traversal code and other minor unused functions.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54887 954f8c5b-7b00-dc11-b283-0030488c597c
Add: [#34443] Ability to set 'Pivot Center for rotation/scale' missing in weight paint mode

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54888 954f8c5b-7b00-dc11-b283-0030488c597c