Revision: 4646 http://sourceforge.net/p/smartbody/code/4646 Author: fengww Date: 2013-07-08 21:50:20 +0000 (Mon, 08 Jul 2013) Log Message: ----------- Add Python APIs for removing channels from a motion. This allows creation of animations that only utilize part of character channels. For example, it can remove all lower body channels from a standing gesture animation to create a variation for sitting posture.
For now the solution is a hack by renaming the channel names into garbage names so they won't be used during playback. Should remove the channels from the list altogether and update the float buffers accordingly. Fixed a bug in Motion Editor Window. Modified Paths: -------------- trunk/core/smartbody/sbm/src/motioneditor/MotionEditorWindow.cpp trunk/core/smartbody/simplesmartbody/simplesmartbody.cpp trunk/core/smartbody/smartbody-lib/src/sb/SBMotion.cpp trunk/core/smartbody/smartbody-lib/src/sb/SBMotion.h trunk/core/smartbody/smartbody-lib/src/sb/SBPythonMotion.cpp trunk/core/smartbody/smartbody-lib/src/sb/SBScene.cpp trunk/core/smartbody/smartbody-lib/src/sk/sk_channel_array.cpp trunk/core/smartbody/smartbody-lib/src/sk/sk_motion.cpp This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ Smartbody-svn mailing list Smartbody-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/smartbody-svn