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-12-07 01:26:22 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-12-07 01:28:32 +0300
commit7e722afc6202fbcbeddd76bafec76c5c0f6195bf (patch)
treefe625b2b7b4b7403d5d5a8136e0792d999b855c5 /source/blender/draw/modes/pose_mode.c
parent6aad5de58b916da8a10c32998af4a9e95acdc49f (diff)
3D View: hide pose bones w/o overlays
Part of T58690
Diffstat (limited to 'source/blender/draw/modes/pose_mode.c')
-rw-r--r--source/blender/draw/modes/pose_mode.c4
1 files changed, 3 insertions, 1 deletions
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)) {