rigidbody: Avoid unnecessary simulation updates

Now we flag the world for update on frame change and only call
BKE_rigidbody_do_simulation() when needed.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54588 954f8c5b-7b00-dc11-b283-0030488c597c
BGE: Fix for issue #34242 "It does not render in "P" mode for Game engine if you UV mapa a face of a cube" reported by joaclint.

Material caching can now be disabled for Multitexture and GLSL Materials.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54589 954f8c5b-7b00-dc11-b283-0030488c597c
Adding a missing end paren to the Use Material Caching tooltip.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54590 954f8c5b-7b00-dc11-b283-0030488c597c
rigidbody: Further fix for background scenes

Since rigid bodies need their world to be be updated correctly we now
pass it alongside the parent scene in scene_update_tagged_recursive().

Add BKE_object_handle_update_ex() as well as other object functions
that take a RigidBodyWorld for this.

Ideally this shouldn't be needed but we'd have to restructure scene
handling for that. It's not a small taks however and definitely not
something that can be done before release.

Thanks to Campbell for review.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54594 954f8c5b-7b00-dc11-b283-0030488c597c
Code cleanup, remove redundant function wrapper

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54597 954f8c5b-7b00-dc11-b283-0030488c597c
rigidbody: Fix [#34277] Deleting a copied bullet scene crashes blender.

Copying scenes didn't handle rigid body worlds previously.

Since we use groups to keep track of objecs in the rigid body sim it's
tricky to do the right thing here since groups aren't duplicated.
One option would be to create new groups and add the duplicated objects
into those but that has other drawbacks.
So the rigid body world isn't copied for now.

TODO find a better way of handling this.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54598 954f8c5b-7b00-dc11-b283-0030488c597c
Added option for group node buffering in the compositor.

Justa cluster did not have enough memory to handle all Mango 4k scenes.
Option is default disabled and can be enabled in the performance panel.

 - At Mind -



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54599 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for [#34182] Movie Distortion and Bilateral Blur doesn't work together

 * added area of interest based on a radius around the input tile.
If someone can implement a correct formula (based on K1, K2 and K3) and send it to me, I will be happy to apply it!

 - At Mind -


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54600 954f8c5b-7b00-dc11-b283-0030488c597c
Fix performance regression with anchor brush in sculpt mode

When restoring coordinates in sculpt mode (used for several brushes
including anchor brush), can use sculpt_undo_get_node() for
non-dyntopo sculpting instead of sculpt_undo_push_node().

This should bring speed of anchor brush back to 2.65 level for regular
mesh/multires sculpting.

Fixes projects.blender.org/tracker/?func=detail&atid=498&aid=34208&group_id=9

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54601 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for harmless uninitialized-variable warning

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54602 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: change order of args in void BKE_object_where_is_calc_time_ex() so extra arg is at the end (loose convention for *_ex() funcs). also some style cleanup.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54603 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: missed r54603, arg reordering.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54604 954f8c5b-7b00-dc11-b283-0030488c597c
BLI_mempool totalloc was being used un-initialized, normally this would cause bugs but turns out its not used,
ifdef'd it out but keep in the struct in BLI_mempool for now.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54605 954f8c5b-7b00-dc11-b283-0030488c597c
allow alt or Ckey to toggle clamping for vertex slide.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54606 954f8c5b-7b00-dc11-b283-0030488c597c
vertex slide: dont write clamped value back into TransInfo.values,
this meant toggling clamp didn't take any effect until the mouse was moved. (annoying glitch)


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54607 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: operator/function mismatch


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54608 954f8c5b-7b00-dc11-b283-0030488c597c
Another huge bunch of UI translation fixes, mostly reported by Leon Cheung, Sv.Lockal, Gabriel Gazzán and Satoshi Yamasaki, thanks!

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54609 954f8c5b-7b00-dc11-b283-0030488c597c
Fixes for BMO_error_raise extraction regex, and add hindi to "active" translations.
Also enhanced the ugly py ast parsing code, so that it now can handle (up to some extent) "name" function nodes, and add bpy.app.translations.pgettext func familly to extracted ones...

This ast py parsing becomes more and more ugly, should probably try to refactor it a bit. :/

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54610 954f8c5b-7b00-dc11-b283-0030488c597c
remove stipple from console selection drawing.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54611 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #34285: sculpt/paint radial control F key operators did not adjust brush size
to retina pixel size correctly.

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