2.5 Armatures:

* Missed one posemode flag-to-mode switch, drawing of armatures works correct now.
This commit is contained in:
Nicholas Bishop
2009-08-17 00:24:49 +00:00
parent 5f7ed83735
commit 79da01a288

View 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);
}