2.5 Armatures:
authorNicholas Bishop <nicholasbishop@gmail.com>
Mon, 17 Aug 2009 00:24:49 +0000 (00:24 +0000)
committerNicholas Bishop <nicholasbishop@gmail.com>
Mon, 17 Aug 2009 00:24:49 +0000 (00:24 +0000)
* Missed one posemode flag-to-mode switch, drawing of armatures works correct now.

source/blender/editors/space_view3d/drawarmature.c

index 4daa470b4dcfe23156e357e2cfe43a0930d060b7..a571838655477bd63ed6cbc176015ab8b5e72e11 100644 (file)
@@ -2516,7 +2516,7 @@ int draw_armature(Scene *scene, View3D *v3d, RegionView3D *rv3d, Base *base, int
                                        if(ob->mode & OB_MODE_POSE) 
                                                arm->flag |= ARM_POSEMODE;
                                }
-                               else if(ob->flag & OB_MODE_POSE) {
+                               else if(ob->mode & OB_MODE_POSE) {
                                        if (arm->ghosttype == ARM_GHOST_RANGE) {
                                                draw_ghost_poses_range(scene, v3d, rv3d, base);
                                        }