UI / Cycles:
* Make it more clear for the user what affects 3D View and Final render.
* Static / Dynamic BVH only affects viewport, BVH Cache only final. (see BlenderSync::get_scene_params)

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58184 954f8c5b-7b00-dc11-b283-0030488c597c
optimize interp_weights_poly_v2(), well tested, was calculating the area twice as much as was needed.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58185 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#36106] Defining the Loopcut number with the keyboard is limited to 130
mousewheel value is now clamped too and raised the limit to 500.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58187 954f8c5b-7b00-dc11-b283-0030488c597c
fix for crash with texture-baking caused by recent changes to render-database initialization, running bake 3 times would crash.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58190 954f8c5b-7b00-dc11-b283-0030488c597c
Expose node.select exec callback to an operator

Internally it was only invoke callback set for an
operator template. This invoke was setting such
properties as mouse_x and mouse_y and was calling
an exec function.

This meant that t seemed to be really easy to
use node.select operator from by giving a mouse
positions, but in fact it wasn't possible (because
it requires exec callback)

This commit sets operator's template exec callback,
which makes it possible using node.select from
python.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58191 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#36093] Stationary Particle system - particle Y axis fails to follow emitter object rotation


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58192 954f8c5b-7b00-dc11-b283-0030488c597c
fix for last commit, avoid possible uninitialized variable.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58193 954f8c5b-7b00-dc11-b283-0030488c597c
Get rid of global originmat matrix from object.c

This matrix was used to store the space the object is in,
which then was accessed by snapping code. No reason to
keep it as a global variable (which isn't safe for threading,
unlikely it'll give issues now, but it's easy to avoid
issues early here).

Now made it so BKE_object_where_is_calc_ex will get an
optional parameter originmat and set this matrix in
solve_parent.

Original patch by self, minor changes by Campbell, thanks!

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58195 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#36109] UI softlock when first property of an operator is String
disable editing a string on operator UI popups, causes feedback loop


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58197 954f8c5b-7b00-dc11-b283-0030488c597c
Moved code for calculating local_matrix to BKE funtion for reuse

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58198 954f8c5b-7b00-dc11-b283-0030488c597c
Related to #36115: show in render info text when 3D view layer or camera overrides
scene settings when pressing F12 over a 3D view.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58199 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #36115: dynamic paint not showing correct result after file load or undo.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58200 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #35827: object selection through camera view not working in some cases.

The problem was that when the camera is selected, the transform manipulator
is located exactly at the camera view location, and this was blocking selection
of other objects with some OpenGL implementations.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58201 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #35586: add an option to the Z Combine compositing node to disable the Z
buffer antialiasing that was restored in 2.67 after it was missing in the new
compositor implementation.

This option tends to make results worse rather then better for Cycles renders,
but is useful for Blender internal. Their Z-buffers look quite different for
antialiasing, and I'd rather not change either.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58202 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #35470: crash rendering from the terminal in some cases due to render info
text threading issue.

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