From f237bb28bf8558a360dbfe03a52dfbce863dbdd8 Mon Sep 17 00:00:00 2001 From: Chris Want Date: Fri, 23 Jan 2004 02:25:51 +0000 Subject: [PATCH] Bug Fix: bones get updated after using NKEY in pose mode (not really useful, but anyways ...). --- source/blender/src/drawview.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/source/blender/src/drawview.c b/source/blender/src/drawview.c index 8f7ed104000..ab2695d725d 100644 --- a/source/blender/src/drawview.c +++ b/source/blender/src/drawview.c @@ -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); } }