Bug Fix: bones get updated after using NKEY in pose mode (not really

useful, but anyways ...).
This commit is contained in:
Chris Want
2004-01-23 02:25:51 +00:00
parent 8766a719e4
commit f237bb28bf

View File

@@ -1326,7 +1326,8 @@ void do_viewbuts(unsigned short event)
bPoseChannel *chan;
bArmature *arm;
Bone *bone;
Base *base;
arm = get_armature(OBACT);
if (!arm) return;
bone = get_first_selected_bone();
@@ -1345,6 +1346,12 @@ void do_viewbuts(unsigned short event)
strcpy (chan->name, bone->name);
set_pose_channel (G.obpose->pose, chan);
for (base = G.scene->base.first; base; base=base->next){
clear_object_constraint_status(base->object);
make_displists_by_armature(base->object);
}
allqueue(REDRAWVIEW3D, 1);
}
}