diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-03-07 03:26:28 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-03-07 03:41:33 +0300 |
commit | a3d647558e2234ee3c7acb338ed51e432d9ca92a (patch) | |
tree | 9497169f3928831827c96a32bce86585256ab6cb /source/blender/editors/space_view3d/view3d_gizmo_empty.c | |
parent | e1a62fa1a61167990c4ade74b9e8b56573e18d2d (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/view3d_gizmo_empty.c')
-rw-r--r-- | source/blender/editors/space_view3d/view3d_gizmo_empty.c | 2 |
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); } } } |