Fix Weight Paint(Weight-Transfer): active vgroup does not match active bone when new vgroups where created during transfer

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57973 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #35991: show warning message to when trying to edit driven values in number buttons.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57974 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #35992: crash using make links > animation data between empty and mesh object.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57975 954f8c5b-7b00-dc11-b283-0030488c597c
Fix bevel crash bug 35990. Sometimes no face to interpolate from.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57976 954f8c5b-7b00-dc11-b283-0030488c597c
remove checks for active object in the weight panel, this is incorrect for weight transfer and we better rely on operators poll functions.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57977 954f8c5b-7b00-dc11-b283-0030488c597c
fixes/edits to wright transfer
- poll function now checks for a mesh.
- other selected lattices would crash, check for meshes there too.
- better reporting when transfer fails.
- remove feature to sync with active bone after transfer, other tools don't do this (we could make into a generic function if its needed).


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57978 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#35984] no way to know if a datablock is in editmode

the report explains the issue in detail, but basically you couldn't know if a mesh was in editmode without checking all the objects that use it.
add `is_editmode` readonly property for all datatypes which support editmode.

also make rna fail to build on implicit function declarations.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57980 954f8c5b-7b00-dc11-b283-0030488c597c
stop adding groups from changing the active group with weight transfer, add BKE_defgroup_new function.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57983 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#35998] Crash when trying rename Driver in Outliner
remove unused script define


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57984 954f8c5b-7b00-dc11-b283-0030488c597c
Moved 'vgroups exist' check into operator poll functions of weight tools

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57986 954f8c5b-7b00-dc11-b283-0030488c597c
rigidbody: Remove constraint when removing one of it's objects

This is not the nicest behaviour but trying to keep both bullet and
blender side objects in sync breaks in this case.
There might be a better soluion but this avoids crashes for now.

Fixes: [#35995] Delete crash on specific scene (Physics)

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

Remove duplicate null check.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57988 954f8c5b-7b00-dc11-b283-0030488c597c
rename poll functions from r57986, also no need to count the list to check if its empty.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57990 954f8c5b-7b00-dc11-b283-0030488c597c
Remove SDL_VIDEODRIVER=dummy environment variable setting, this may interfere
with other applications launching SDL applications from Blender.

At the time this was added the game engine joystick code was unnecessarily
initializing the SDL video subsystem, and looking at the SDL source code that's
the only place this environment variable is read. That doesn't happen anymore,
though we do have WITH_GHOST_SDL now. But the environment variable is set after
GHOST has been initialized, otherwise this code would have actually broken that.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57992 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #35994: shape key mirror without topology did not properly work after
doing mirror with topology.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57993 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #36006: appending some datablock types (e.g. node groups) did not work, they
were always linked after a recent bugfix.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57994 954f8c5b-7b00-dc11-b283-0030488c597c
Revert revision 57896 to fix Make Local > All with multi user datablocks. It's
causing problems with link/append, needs some deeper changes but it's too close
to release for that.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57995 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #36001: crashing copying long strings in text buttons.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57996 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #35997: add armature > single bone, then change location or rotation would
move only the origin and not the bone. It doesn't need to use any object
matrices to add the bone, the only reason this worked before is because they
were still unit matrices due to depsgraph not running immediately on add.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57997 954f8c5b-7b00-dc11-b283-0030488c597c
Fix non-conditional out-of-bounds memory access in DoubleEdgeMask node


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