BGE: Fix for [#34382] "Vertex position doesn't update when set through Python and "Cast Buffer Shadows" is disabled" reported by V.R. (rolle).

The BucketManager was assuming that all modified meshes were rendered when a render pass completed. However, materials that did not cast buffer shadows did not render during the shadow rendering step, and thus were never updated.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56639 954f8c5b-7b00-dc11-b283-0030488c597c
Synchronize changes between bunded libmv and own libmv branch.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56640 954f8c5b-7b00-dc11-b283-0030488c597c
avoid customdata lookups for selection test/enable disable.
also add uvedit_face_select_set, uvedit_edge_select_set, uvedit_uv_select_set - since quite a few areas where setting based on a boolean.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56641 954f8c5b-7b00-dc11-b283-0030488c597c
Remove check for zero focal length in BA cost functor

This check is actually redundant, because empty intrinsics
will have focal length of 1.0, which means original comment
about BundleIntrinsics was not truth.

It is possible that external user will send focal length of
zero to be refined, but blender prevents this from happening.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56642 954f8c5b-7b00-dc11-b283-0030488c597c
BGE: Fix for [#35204] "New Alpha-Enabled Shadows Work Until UVs Change" reported by Josiah Lane (solarlune).

BL_BlenderShader was only sending over proper UV data if the current drawing mode was KX_TEXTURED. Now it also checks for (and sends data for) alpha shadows.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56643 954f8c5b-7b00-dc11-b283-0030488c597c
Left extra logging print by accident.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56644 954f8c5b-7b00-dc11-b283-0030488c597c
avoid using BLI_array_* macros for uv reset.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56646 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for #35286, 'Reset to Default Theme' makes some node titlebars go black. These node theme colors were set in init_userdef_do_versions, but missing in ui_theme_init_default. Also adjusted the group input/output colors there to match the colors set in do_versions.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56647 954f8c5b-7b00-dc11-b283-0030488c597c
Small fix for node add operators: use the UNDO option so they get registered in undo stack properly.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56648 954f8c5b-7b00-dc11-b283-0030488c597c
Optimize BKE_mesh_calc_normals(), gives approx 25% speedup.
- no need to allocate polygon normal array.
- no need to use BLI_array_ functions (realloc's).
- reduce some of the looping.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56649 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #35272: cycles GPU crash with anisotropic shader in group node.

Problem was that due to group proxy node the anisotropic node did not detect
early enough that it needs generated texture coordinate data to generate the
tangent. Now the proxy nodes are removed earlier.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56650 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #35282: cycles color ramp set to constant interpolation did not work well.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56651 954f8c5b-7b00-dc11-b283-0030488c597c
use unsigned ints for edgehash


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56652 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #35261: double clicking the up arrow in the file browser to go up multiple
directories fast would start drag and drop. Disabled drag on those items now.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56653 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for #35291, Deleting 'Group Output' node in compositor causes Segfault. A group without an output node in compositor would leave the original Node instance in the graph with outgoing connections. This causes trouble because the Node is expected to be a NodeOperation. Now group nodes always get disconnected and if no output node is present will use the default group output values (which is slightly less confusing than using input values from connected nodes).

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56654 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #35269: compositing setup with only file output node and no composite node
refused to render. It's not possible to actually see the compositing result
in the render result without that but might as well work.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56655 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #35278: textures nodes Mix RGB node did not have a Use Alpha option like
the compositing node. Note the shader nodes can't have this because color
sockets there are only RGB, not RGBA.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56658 954f8c5b-7b00-dc11-b283-0030488c597c
Code cleanup / Cycles:
* Change some more if / else if conditions to switch / case. 
* Avoid an unneeded variable casting in phong_ramp closure. 

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56659 954f8c5b-7b00-dc11-b283-0030488c597c
Cycles: add Use Surfaces and Use Hair option to render layers, to disable rendering
of hair and surfaces, similar to blender internal options.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56660 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #35267: cmd+v, cmd+c on OS X for copy/paste worked in some editors like the 3D
view and text editor but not in the animation editors, node editor and sequencer.

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