Adding Drivers in Actions now update live as well.

The main change is that an Action now always updates Poses  on transform,
unless you are editing the Pose itself. Please test!
This commit is contained in:
2005-10-03 14:40:42 +00:00
parent 9459f7c1be
commit bec1e25720
6 changed files with 6 additions and 12 deletions

View File

@@ -498,6 +498,7 @@ static void createTransPose(Object *ob, TransInfo *t)
t->flag |= T_POSE;
t->poseobj= ob; // we also allow non-active objects to be transformed, in weightpaint
ob->pose->flag |= POSE_LOCKED;
/* init trans data */
td = t->data = MEM_callocN(t->total*sizeof(TransData), "TransPoseBone");
@@ -1617,6 +1618,8 @@ void special_aftertrans_update(TransInfo *t)
ob= t->poseobj;
arm= ob->data;
ob->pose->flag &= ~POSE_LOCKED;
if(cancelled) /* if cancelled we do the update always */
DAG_object_flush_update(G.scene, ob, OB_RECALC_DATA);
else if(G.flags & G_RECORDKEYS) {