code cleanup: some style edits, also allow mul_v2_m2v2() to have the same value as in-out, since this is a convention for existing matrix functions.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54479 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#34203] Editing bones, parenting, blender quits
'Set Inverse' was mixing up pose/object constraints


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54480 954f8c5b-7b00-dc11-b283-0030488c597c
fix for own regression [#34096] ocean sim vertex color bug
Caused by my assumption that alpha wasn't used for vertex colors.

Infact it is used by blender-internal rendering, but typically only for blending strand particles.
Updated comments to note this.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54481 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#34198] Scene unit size and dyntopo detail size
there were 2 bugs here.
- int buttons scaling values on input but not on display.
- pixel distances were using PROP_DISTANCE subtype - which isn't correct.

added assert incase PROP_INT values have PROP_DISTANCE subtype applied in future.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54482 954f8c5b-7b00-dc11-b283-0030488c597c
Added a missing space (between separator and face count in object mode)


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54483 954f8c5b-7b00-dc11-b283-0030488c597c
Add translation of stats/info string.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54484 954f8c5b-7b00-dc11-b283-0030488c597c
Buildbot: revert r54465 and r54466 -- issue was not caused by
crosscompilation, but was caused by some bugs in toolkit itself.

Shall be all fine now (at least it is on my laptop now).

Let give it another try!

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54485 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #34209: Texture preview in brush settings does not update

Was a regression since Cycles preview implementation.

Texture preview would be fine now if Blender Internal render is used,
but seems it's not impossible to support textures preview if Cycles
is set as render engine.

Would check on this a bit further.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54486 954f8c5b-7b00-dc11-b283-0030488c597c
fix for own commit r54482, PROP_DISTANCE was being checked for by radial control operator. now allow PROP_NONE and treat it as a distance.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54487 954f8c5b-7b00-dc11-b283-0030488c597c
report [#33731] Fastorigin addon crashes on mesh.update()
add a warning when python leaves the modified mesh without calling bmesh.update_edit_mesh()s.
this doesn't fix the crash but points to the likely cause.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54488 954f8c5b-7b00-dc11-b283-0030488c597c
SCons: no need to do data-to-c when building cudakernels only

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54489 954f8c5b-7b00-dc11-b283-0030488c597c
Fix incorrect display of Sequence layer when rendering animation and
float/byte render results were mixed.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54490 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #34205: Cycles: Zooming in rendered mode during update out of sync with intended zoom

Made sure no pause_cond.wait() happens at the same time as session as resetting.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54491 954f8c5b-7b00-dc11-b283-0030488c597c
Fix some (quite harmless) use of uninitialized memory reported by valgrind.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54492 954f8c5b-7b00-dc11-b283-0030488c597c
And we now have a valid korean translation!

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54493 954f8c5b-7b00-dc11-b283-0030488c597c
Reports #34042 and #33749

Tweak for new option for Relative Bone parenting
(which transforms child object based on rest pose, so you can change bones 
in editmode to define pivot)

In the original commit it was made default, but that was too invisble for
users. Now it's an option in the Make Parent menu to choose. Communicates
a new feature better.




git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54494 954f8c5b-7b00-dc11-b283-0030488c597c
rigidbody: Clean up wm notifiers in rigid body operators

Remore group notifiers, they're already sent by add/remove group operators.
Add pointcache notifiers.

Fixes UI not being updated properly in some cases.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54495 954f8c5b-7b00-dc11-b283-0030488c597c
rigidbody: Don't cancel add operator if rigid body already exists

In some cases objects might have rigid bodies but aren't in the rigid
body group, just add objects to the group then.

Also allow changing the rigid body type by using the add acive/passive
buttons. This avoids having to remove objects just to change type.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54496 954f8c5b-7b00-dc11-b283-0030488c597c
rigidbody: No need to update mass when changing rigid body type

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54497 954f8c5b-7b00-dc11-b283-0030488c597c
Fix cycles not using SSE3 kernel after recent, order with SSE2 should be switched,
pointed out by Chad Fraleigh.

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