- part 1 of investigating how armatures work!
authorTon Roosendaal <ton@blender.org>
Fri, 27 Jun 2003 12:34:44 +0000 (12:34 +0000)
committerTon Roosendaal <ton@blender.org>
Fri, 27 Jun 2003 12:34:44 +0000 (12:34 +0000)
  fixed display error; when adding a 'key' in a bone, it didnt update IpoWindow

source/blender/src/editaction.c
source/blender/src/editarmature.c
source/blender/src/editipo.c

index eef5fb3d6b4cfcf545f9de440464982c8f1119a9..01f0ff4ff2bd783f5bab0db6e9cc2a055484da97 100644 (file)
@@ -772,7 +772,8 @@ static void set_action_key_time (bAction *act, bPoseChannel *chan, int adrcode,
        }
 
        /* Ensure the channel appears selected in the action window */
-       achan->flag |= ACHAN_SELECTED;
+       /* ton: added flag hilighted, for display in ipowin. dunno what the difference is between select/hilite */
+       achan->flag |= ACHAN_SELECTED|ACHAN_HILIGHTED;
 
        /* Ensure this action channel has a valid Ipo */
        if (!achan->ipo){
index f002f2fb2b6cda6fef2b69fa279e34ac769f67fc..45e4d2c724cc13021ea7183d98c6c0b193023f51 100644 (file)
@@ -2340,7 +2340,7 @@ void mousepose_armature(void)
                return;
 
        nearBone = get_nearest_bone(1);
-       
+
        if (nearBone){
                if (!(G.qual & LR_SHIFTKEY)){
                        deselectall_posearmature(0);
index 6d6b03828c8ce46a994a0fe7840441ba85866cf9..648e27c8f50f815e24b12b308ecdad89f8ce5149 100644 (file)
@@ -3922,7 +3922,7 @@ void common_insertkey()
 
                                remake_action_ipos(act);
                        }
-                       allqueue(REDRAWIPO, 0);
+\13                      allqueue(REDRAWIPO, 0);
                        allqueue(REDRAWACTION, 0);
                        allqueue(REDRAWNLA, 0);