diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-10-08 02:43:34 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-10-08 02:43:34 +0300 |
commit | 04064fb186ae1089a2bf3006f120e68f789b5242 (patch) | |
tree | b73156bffe9063da76a73ac6dab471ee40b7541d /source/blender/blenkernel/BKE_object.h | |
parent | d022794cad977229386934e7d25365270671874f (diff) |
Cleanup: use DRW_object_is_* for object checks
Also use const qualifier for object's.
Diffstat (limited to 'source/blender/blenkernel/BKE_object.h')
-rw-r--r-- | source/blender/blenkernel/BKE_object.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_object.h b/source/blender/blenkernel/BKE_object.h index 81182a89f3e..6d7def8f93f 100644 --- a/source/blender/blenkernel/BKE_object.h +++ b/source/blender/blenkernel/BKE_object.h @@ -102,7 +102,7 @@ typedef enum eObjectVisibilityCheck { OB_VISIBILITY_CHECK_UNKNOWN_RENDER_MODE, } eObjectVisibilityCheck; -bool BKE_object_is_visible(struct Object *ob, const eObjectVisibilityCheck mode); +bool BKE_object_is_visible(const struct Object *ob, const eObjectVisibilityCheck mode); void BKE_object_init(struct Object *ob); struct Object *BKE_object_add_only_object( |