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>2019-03-07 03:26:28 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-03-07 03:41:33 +0300
commita3d647558e2234ee3c7acb338ed51e432d9ca92a (patch)
tree9497169f3928831827c96a32bce86585256ab6cb /source/blender/editors/space_view3d
parente1a62fa1a61167990c4ade74b9e8b56573e18d2d (diff)
DRW: show image empty frame when the 'side' is hidden
This behavior matches back-face culled mesh objects, where the wire outline doesn't depend on the viewing angle. Applying this before empty visibility check for view framing, since it's strange if viewing all gives different results depending on back-face culling.
Diffstat (limited to 'source/blender/editors/space_view3d')
-rw-r--r--source/blender/editors/space_view3d/view3d_gizmo_empty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/view3d_gizmo_empty.c b/source/blender/editors/space_view3d/view3d_gizmo_empty.c
index ee6dd2b8267..7d6ec3b782f 100644
--- a/source/blender/editors/space_view3d/view3d_gizmo_empty.c
+++ b/source/blender/editors/space_view3d/view3d_gizmo_empty.c
@@ -118,7 +118,7 @@ static bool WIDGETGROUP_empty_image_poll(const bContext *C, wmGizmoGroupType *UN
Object *ob = base->object;
if (ob->type == OB_EMPTY) {
if (ob->empty_drawtype == OB_EMPTY_IMAGE) {
- return BKE_object_empty_image_is_visible_in_view3d(ob, rv3d);
+ return BKE_object_empty_image_frame_is_visible_in_view3d(ob, rv3d);
}
}
}