diff options
author | Joshua Leung <aligorith@gmail.com> | 2009-01-07 12:41:32 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2009-01-07 12:41:32 +0300 |
commit | 5ef7b1f76ffc8796b2e5ae58a62fcb451229108b (patch) | |
tree | 9280e1a0f1472dda6f8b86c0ab96ee31e9024fa4 /source/blender/editors/armature | |
parent | a811d802dd96a2dc93885a1dab46004084386030 (diff) |
2.5
* Compiling fixes for RNA - removed duplicate RNA wrapping for posechannels, removed some irrelevant code, and fixed some errors.
* Commented out/removed some evil old stuff from pose-code
Diffstat (limited to 'source/blender/editors/armature')
-rw-r--r-- | source/blender/editors/armature/poseobject.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/armature/poseobject.c b/source/blender/editors/armature/poseobject.c index 06b1dc2361d..94e5492a337 100644 --- a/source/blender/editors/armature/poseobject.c +++ b/source/blender/editors/armature/poseobject.c @@ -462,6 +462,7 @@ void pose_select_hierarchy(Scene *scene, short direction, short add_to_sel) curbone->flag &= ~BONE_ACTIVE; pabone->flag |= (BONE_ACTIVE|BONE_SELECTED); + // XXX this is evil... this sort of stuff is to be handled in one go as a result of a notifier select_actionchannel_by_name (ob->action, pchan->name, 0); select_actionchannel_by_name (ob->action, pchan->parent->name, 1); break; @@ -477,6 +478,7 @@ void pose_select_hierarchy(Scene *scene, short direction, short add_to_sel) curbone->flag &= ~BONE_ACTIVE; chbone->flag |= (BONE_ACTIVE|BONE_SELECTED); + // XXX this is evil... this sort of stuff is to be handled in one go as a result of a notifier select_actionchannel_by_name (ob->action, pchan->name, 0); select_actionchannel_by_name (ob->action, pchan->child->name, 1); break; @@ -1325,6 +1327,7 @@ void pose_activate_flipped_bone(Scene *scene) DAG_object_flush_update(scene, OBACT, OB_RECALC_DATA); } + // XXX this is evil... this sort of stuff is to be handled in one go as a result of a notifier select_actionchannel_by_name(ob->action, name, 1); } |