diff options
author | Ton Roosendaal <ton@blender.org> | 2009-01-05 20:20:40 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2009-01-05 20:20:40 +0300 |
commit | 3aae2de7734e13c8e98e7dc85483d1ba8c461f50 (patch) | |
tree | 86e0b5f7ee6132f35e84348f3b6cba0cbebbb923 /source/blender/editors/armature | |
parent | 42a006629fe9f16180dfec78acbdc45472ad21b0 (diff) |
2.5
Cleanup:
- Makefile was using confused link order, now all intern and
and extern libs are put after blender and editor libs
- Old stubs.c in editors/screen removed. The leftover python
stubs calls were moved to python module.
Diffstat (limited to 'source/blender/editors/armature')
-rw-r--r-- | source/blender/editors/armature/poseobject.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/source/blender/editors/armature/poseobject.c b/source/blender/editors/armature/poseobject.c index 324223fa212..825be74c06e 100644 --- a/source/blender/editors/armature/poseobject.c +++ b/source/blender/editors/armature/poseobject.c @@ -157,26 +157,6 @@ void exit_posemode(Scene *scene) } -#if 0 -/* called by buttons to find a bone to display/edit values for */ -bPoseChannel *get_active_posechannel (Object *ob) -{ - bArmature *arm= ob->data; - bPoseChannel *pchan; - - if ELEM(NULL, ob, ob->pose) - return NULL; - - /* find active */ - for(pchan= ob->pose->chanbase.first; pchan; pchan= pchan->next) { - if(pchan->bone && (pchan->bone->flag & BONE_ACTIVE) && (pchan->bone->layer & arm->layer)) - return pchan; - } - - return NULL; -} -#endif - /* if a selected or active bone is protected, throw error (oonly if warn==1) and return 1 */ /* only_selected==1 : the active bone is allowed to be protected */ static short pose_has_protected_selected(Object *ob, short only_selected, short warn) |