diff options
author | Ton Roosendaal <ton@blender.org> | 2005-07-19 02:18:03 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2005-07-19 02:18:03 +0400 |
commit | d1dfb246c788492168c666aca1a30a00aa73c206 (patch) | |
tree | e049e8b041cc328a570f69a01a36f6cbf36a32be /source/blender/src/outliner.c | |
parent | 272f35d4274432ee598823576b9e50846604513a (diff) |
Bugfix: clear rotation on Pose bone didn't flush changes to DAG
Fix for previous commit today; found other test file with action
constraint that behaved different... found out the old action constraint
used the deform matrix (from restpos to pose) to define the key.
ALso removed unused function from outliner.c
Diffstat (limited to 'source/blender/src/outliner.c')
-rw-r--r-- | source/blender/src/outliner.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/source/blender/src/outliner.c b/source/blender/src/outliner.c index 189db2820ab..4971007b687 100644 --- a/source/blender/src/outliner.c +++ b/source/blender/src/outliner.c @@ -1199,31 +1199,6 @@ static int tree_element_active_nla_action(TreeElement *te, TreeStoreElem *tselem return 0; } - -static int tree_element_active_bone(TreeElement *te, TreeStoreElem *tselem, int set) -{ - bArmature *arm= (bArmature *)tselem->id; - Bone *bone= te->directdata; - - if(set) { - if(G.qual & LR_SHIFTKEY); - else deselectall_posearmature(0); - bone->flag |= BONE_SELECTED; - - allqueue(REDRAWVIEW3D, 0); - allqueue(REDRAWOOPS, 0); - allqueue(REDRAWACTION, 0); - } - else { - Object *ob= OBACT; - - if(ob && ob->data==arm) { - if (bone->flag & BONE_SELECTED) return 1; - } - } - return 0; -} - static int tree_element_active_posechannel(TreeElement *te, TreeStoreElem *tselem, int set) { Object *ob= (Object *)tselem->id; |