Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-05-29 16:16:07 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-05-29 16:17:34 +0300
commit43584f4a41cb986fbe13bf193fecdde41d23a4da (patch)
tree0d6e53dd720fd0c2b1c1aaf63165775989796de5 /source/blender/draw/modes/pose_mode.c
parentbc54823376695844ff04ec977c3ce602529e95c1 (diff)
Missed own last commit
Diffstat (limited to 'source/blender/draw/modes/pose_mode.c')
-rw-r--r--source/blender/draw/modes/pose_mode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/modes/pose_mode.c b/source/blender/draw/modes/pose_mode.c
index 1fe6549c73c..586fb590ebf 100644
--- a/source/blender/draw/modes/pose_mode.c
+++ b/source/blender/draw/modes/pose_mode.c
@@ -224,7 +224,7 @@ bool DRW_pose_mode_armature(Object *ob, Object *active_ob)
const DRWContextState *draw_ctx = DRW_context_state_get();
/* Pose armature is handled by pose mode engine. */
- if (((ob == active_ob) || (ob->base_flag & BASE_SELECTED)) &&
+ if (((ob == active_ob) || (ob->mode & OB_MODE_POSE)) &&
((draw_ctx->object_mode & OB_MODE_POSE) != 0))
{
return true;