Commit: 7e722afc6202fbcbeddd76bafec76c5c0f6195bf
Author: Campbell Barton
Date:   Fri Dec 7 09:26:22 2018 +1100
Branches: blender2.8
https://developer.blender.org/rB7e722afc6202fbcbeddd76bafec76c5c0f6195bf

3D View: hide pose bones w/o overlays

Part of T58690

===================================================================

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 3c0a8048c9e..6ee6f59e5fa 100644
--- a/source/blender/draw/modes/pose_mode.c
+++ b/source/blender/draw/modes/pose_mode.c
@@ -195,7 +195,9 @@ static void POSE_cache_populate(void *vedata, Object *ob)
         * and similar functionalities. For now we handle only pose bones. */
 
        if (ob->type == OB_ARMATURE) {
-               if (draw_ctx->v3d->overlay.flag & V3D_OVERLAY_HIDE_BONES) {
+               if ((draw_ctx->v3d->flag2 & V3D_RENDER_OVERRIDE) ||
+                   (draw_ctx->v3d->overlay.flag & V3D_OVERLAY_HIDE_BONES))
+               {
                        return;
                }
                if (DRW_pose_mode_armature(ob, draw_ctx->obact)) {

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to