diff options
author | Jacques Lucke <mail@jlucke.com> | 2018-10-19 15:30:39 +0300 |
---|---|---|
committer | Jacques Lucke <mail@jlucke.com> | 2018-10-19 15:30:39 +0300 |
commit | c17f2c2eb61f387c278a8dbc8ec559fc1d4bcad6 (patch) | |
tree | c4f141eca9becb078524bf5081088ca4c6b23554 /source/blender/blenkernel/BKE_collection.h | |
parent | bdd02cc082e5f16935f2ed9fbafe63f8aed2822a (diff) |
Outliner: Open empty collection when something is dragged into it
Reviewers: brecht
Differential Revision: https://developer.blender.org/D3814
Diffstat (limited to 'source/blender/blenkernel/BKE_collection.h')
-rw-r--r-- | source/blender/blenkernel/BKE_collection.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_collection.h b/source/blender/blenkernel/BKE_collection.h index 175ee61c690..a9539b3a3c4 100644 --- a/source/blender/blenkernel/BKE_collection.h +++ b/source/blender/blenkernel/BKE_collection.h @@ -75,6 +75,7 @@ struct Collection *BKE_collection_master_add(void); bool BKE_collection_has_object(struct Collection *collection, struct Object *ob); bool BKE_collection_has_object_recursive(struct Collection *collection, struct Object *ob); struct Collection *BKE_collection_object_find(struct Main *bmain, struct Collection *collection, struct Object *ob); +bool BKE_collection_is_empty(struct Collection *collection); bool BKE_collection_object_add(struct Main *bmain, struct Collection *collection, struct Object *ob); void BKE_collection_object_add_from(struct Main *bmain, struct Scene *scene, struct Object *ob_src, struct Object *ob_dst); |