- part 1 of investigating how armatures work!
fixed display error; when adding a 'key' in a bone, it didnt update IpoWindow
This commit is contained in:
@@ -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 */
|
/* 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 */
|
/* Ensure this action channel has a valid Ipo */
|
||||||
if (!achan->ipo){
|
if (!achan->ipo){
|
||||||
|
@@ -2340,7 +2340,7 @@ void mousepose_armature(void)
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
nearBone = get_nearest_bone(1);
|
nearBone = get_nearest_bone(1);
|
||||||
|
|
||||||
if (nearBone){
|
if (nearBone){
|
||||||
if (!(G.qual & LR_SHIFTKEY)){
|
if (!(G.qual & LR_SHIFTKEY)){
|
||||||
deselectall_posearmature(0);
|
deselectall_posearmature(0);
|
||||||
|
@@ -3922,7 +3922,7 @@ void common_insertkey()
|
|||||||
|
|
||||||
remake_action_ipos(act);
|
remake_action_ipos(act);
|
||||||
}
|
}
|
||||||
allqueue(REDRAWIPO, 0);
|
allqueue(REDRAWIPO, 0);
|
||||||
allqueue(REDRAWACTION, 0);
|
allqueue(REDRAWACTION, 0);
|
||||||
allqueue(REDRAWNLA, 0);
|
allqueue(REDRAWNLA, 0);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user