Skip to content
Snippets Groups Projects
Commit f237bb28 authored by Chris Want's avatar Chris Want
Browse files

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

useful, but anyways ...).
parent 8766a719
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment