diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-03-03 20:31:46 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-03-03 20:31:46 +0400 |
commit | a2c182e9233333fc3b8ff40d352113ec95e7e30c (patch) | |
tree | 37a9e08f4e6c4bf794aa0c8c15af875299db4a1b /source/gameengine/Converter/BL_ArmatureObject.cpp | |
parent | 86cec98f9e1523ed41b67ef998174289dbae9b83 (diff) |
style cleanup - use aligned * prefixed blocks for descriptive comments (was already used a lot and part of proposed style guide).
Diffstat (limited to 'source/gameengine/Converter/BL_ArmatureObject.cpp')
-rw-r--r-- | source/gameengine/Converter/BL_ArmatureObject.cpp | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/source/gameengine/Converter/BL_ArmatureObject.cpp b/source/gameengine/Converter/BL_ArmatureObject.cpp index 79efc8f7586..04618bf9e2d 100644 --- a/source/gameengine/Converter/BL_ArmatureObject.cpp +++ b/source/gameengine/Converter/BL_ArmatureObject.cpp @@ -120,8 +120,10 @@ void game_copy_pose(bPose **dst, bPose *src, int copy_constraint) } // fails to link, props are not used in the BGE yet. - /* if(pchan->prop) - pchan->prop= IDP_CopyProperty(pchan->prop); */ +#if 0 + if(pchan->prop) + pchan->prop= IDP_CopyProperty(pchan->prop); +#endif pchan->prop= NULL; } @@ -546,11 +548,11 @@ void BL_ArmatureObject::GetPose(bPose **pose) /* Otherwise, copy the armature's pose channels into the caller-supplied pose */ if (!*pose) { - /* probably not to good of an idea to - duplicate everying, but it clears up - a crash and memory leakage when - &BL_ActionActuator::m_pose is freed - */ + /* probably not to good of an idea to + * duplicate everying, but it clears up + * a crash and memory leakage when + * &BL_ActionActuator::m_pose is freed + */ game_copy_pose(pose, m_pose, 0); } else { |