fix [#32020] Image will not render in second (any scene other than first) if scene name is longer than 28 characters


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48719 954f8c5b-7b00-dc11-b283-0030488c597c
use alloc_size attribute for guarded alloc functions with gcc.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48721 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for [#31701] "radar causes collision" reported by Markus Rietz (afeature).

The problem was that the physics shapes for the near and radar sensor were getting turned into characters because CcdConstructionInfo::m_bCharacter was defaulting to true. Now it defaults to false and is explicitly set to true for only Character physics types.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48722 954f8c5b-7b00-dc11-b283-0030488c597c
use gcc attrubutes to warn on unused return values and arguments which shouldnt be NULL.

also remove IDP_AppendArray's return value which wasnt the new item in the array (which is odd/misleading), but wasnt used anywhere either.


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

Also trying to make it usuable from other tools (imports become a bit tricky here :/ ).

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48724 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: quiet uninitialized memory use warning for X11 - harmless in this case but always gave warnings with memcheck (RGB color for alpha zero icon color wasnt initialized).

also some other minor changes.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48725 954f8c5b-7b00-dc11-b283-0030488c597c
Multi device OpenCL did not work.
case was that cached kernels were used by both devices in separate
threads.

removed the cached kernels.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48726 954f8c5b-7b00-dc11-b283-0030488c597c
correct use of __attribute__((nonnull))


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48728 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for error from grumpy gcc in "over-warning" mode. Must explicitely cast uintptr_t to unsigned int (othe solution would be to use PRIuPTR macro from inttypes.h, but that would probably causes some problems with windows...).

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48730 954f8c5b-7b00-dc11-b283-0030488c597c
correct use of nonull attribute


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48734 954f8c5b-7b00-dc11-b283-0030488c597c
Some cleanup, and update to make those files usable both as self-executables and module stuff...

Also updated update_mo to allwo specifying a custom po/mo file.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48735 954f8c5b-7b00-dc11-b283-0030488c597c
Grmbl, dummy argparse...

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48736 954f8c5b-7b00-dc11-b283-0030488c597c
correct another case of nonnull (all should be correct now), and comment about color conversion.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48737 954f8c5b-7b00-dc11-b283-0030488c597c
Fixing a memory leak introduced by the Character Physics type patch: a new btGhostPairCallback was being created, but never freed.

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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48743 954f8c5b-7b00-dc11-b283-0030488c597c
localview operator now reports when 8 views are reached (since 2.5x update was printing in console only).


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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48745 954f8c5b-7b00-dc11-b283-0030488c597c
Fixing a memory leak when using Bullet's btGImpactMeshShape for triangle meshes (e.g., rigid bodies). The physic controller's free was only handling the case where regular triangle meshes were used.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48746 954f8c5b-7b00-dc11-b283-0030488c597c
As a response to issue [#28483] "Enable/Disable Rigid Body actuator do nothing" reported by Jean-Francois Gallant (pyroevil), I'm adding preliminary support to enable and disable rigid body physics on dynamic objects. This is can be done via the Edit Object Actuator or through KX_GameObject.enableRigidBody() and KX_GameObject.disableRigidBody(). Thanks to Sergej Reich for his help with the patch.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48748 954f8c5b-7b00-dc11-b283-0030488c597c
Fixed issues updating texture buffer used for clip editor frame display
when specific circumstances are met.

Mainly issue was caused by checking ImBuf pointers, which used to fail
when some post-processing flags are changed. This was caused by the
fact that freeing old ImBuf and allocating new one could lead to new
ImBuf have the same pointer as previous one, which confuses cache.

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