[Bf-blender-cvs] [59415598e42] blender2.8: Fix Pose Mode selection overlay breaking other overlay.
Clément Foucault
noreply at git.blender.org
Wed Jul 4 18:14:15 CEST 2018
Commit: 59415598e42787ac16a180754233e25b6f3bddbb
Author: Clément Foucault
Date: Wed Jul 4 18:07:34 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB59415598e42787ac16a180754233e25b6f3bddbb
Fix Pose Mode selection overlay breaking other overlay.
Fix T55758
===================================================================
M source/blender/draw/modes/pose_mode.c
===================================================================
diff --git a/source/blender/draw/modes/pose_mode.c b/source/blender/draw/modes/pose_mode.c
index ad9567cd9c0..84c3bff406a 100644
--- a/source/blender/draw/modes/pose_mode.c
+++ b/source/blender/draw/modes/pose_mode.c
@@ -87,7 +87,7 @@ static bool POSE_is_bone_selection_overlay_active(void)
{
const DRWContextState *dcs = DRW_context_state_get();
const View3D *v3d = dcs->v3d;
- return v3d && (v3d->overlay.flag & V3D_OVERLAY_BONE_SELECTION);
+ return v3d && (v3d->overlay.flag & V3D_OVERLAY_BONE_SELECTION) && OBPOSE_FROM_OBACT(dcs->obact);
}
static void POSE_engine_init(void *UNUSED(vedata))
More information about the Bf-blender-cvs
mailing list