diff options
author | Hans Goudey <h.goudey@me.com> | 2021-04-02 08:04:53 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-04-02 08:04:53 +0300 |
commit | 77f685774090c18b8da7a9860861664ed0fdd81e (patch) | |
tree | 257b70681aa990e250f5fa0488e52532f9c9087b /source/blender/blenkernel/intern/collection.c | |
parent | d91fec1a85d95b5b4ef9dd59271133b90e21b37d (diff) |
Cleanup: Use const arguments
Diffstat (limited to 'source/blender/blenkernel/intern/collection.c')
-rw-r--r-- | source/blender/blenkernel/intern/collection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/collection.c b/source/blender/blenkernel/intern/collection.c index ac23f9012a7..0c09744c170 100644 --- a/source/blender/blenkernel/intern/collection.c +++ b/source/blender/blenkernel/intern/collection.c @@ -1007,7 +1007,7 @@ Collection *BKE_collection_object_find(Main *bmain, return NULL; } -bool BKE_collection_is_empty(Collection *collection) +bool BKE_collection_is_empty(const Collection *collection) { return BLI_listbase_is_empty(&collection->gobject) && BLI_listbase_is_empty(&collection->children); |