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/blenkernel/BKE_object.h
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/blenkernel/BKE_object.h')
-rw-r--r--source/blender/blenkernel/BKE_object.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_object.h b/source/blender/blenkernel/BKE_object.h
index 32bc2f03b9e..9cd98232375 100644
--- a/source/blender/blenkernel/BKE_object.h
+++ b/source/blender/blenkernel/BKE_object.h
@@ -349,7 +349,8 @@ bool BKE_object_modifier_update_subframe(
void BKE_object_type_set_empty_for_versioning(struct Object *ob);
-bool BKE_object_empty_image_is_visible_in_view3d(const struct Object *ob, const struct RegionView3D *rv3d);
+bool BKE_object_empty_image_frame_is_visible_in_view3d(const struct Object *ob, const struct RegionView3D *rv3d);
+bool BKE_object_empty_image_data_is_visible_in_view3d(const struct Object *ob, const struct RegionView3D *rv3d);
#ifdef __cplusplus
}