Blender Git Commit Log

Git Commits -> Revision 2faf20c

Revision 2faf20c by Campbell Barton (master)
June 16, 2009, 18:25 (GMT)
BGE Action Actuator setChannel() function was broken in a number of ways.
* extract_pose_from_pose only checked one of the list items for NULL when looping over them yet its possible they are different sizes.
* game_free_pose needed to be used rather then MEM_freeN, channels would never be freed leaking memory.
* setChannel() would make a new pose that wasnt aligned with the existing pose, the lists are assumed aligned so when extracting the channels its unlikely this was ever useful.
* Added getChannel() - returns pose loc/size/quat
* Added option args for setChannel(channel, matrix) or setChannel(channel, loc, size, quat)

Commit Details:

Full Hash: 2faf20c4b3ae1ca6c82dd2a942d2f2a580685436
SVN Revision: 20937
Parent Commit: aa0825a
Lines Changed: +114, -79

4 Modified Paths:

/source/blender/blenkernel/intern/action.c (+2, -1) (Diff)
/source/gameengine/Converter/BL_ActionActuator.cpp (+99, -73) (Diff)
/source/gameengine/Converter/BL_ActionActuator.h (+1, -1) (Diff)
/source/gameengine/PyDoc/GameTypes.py (+12, -4) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021