From 41a81fece4ff031b512d2303ca8956824d76e6ff Mon Sep 17 00:00:00 2001 From: Dalai Felinto Date: Thu, 29 Mar 2018 20:00:34 -0300 Subject: Collections: API to select all scene collection objects --- source/blender/blenkernel/BKE_collection.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/blender/blenkernel/BKE_collection.h') diff --git a/source/blender/blenkernel/BKE_collection.h b/source/blender/blenkernel/BKE_collection.h index bfdafc3ad23..309acce752d 100644 --- a/source/blender/blenkernel/BKE_collection.h +++ b/source/blender/blenkernel/BKE_collection.h @@ -44,6 +44,7 @@ struct Main; struct Object; struct Scene; struct SceneCollection; +struct ViewLayer; struct SceneCollection *BKE_collection_add( struct ID *owner_id, struct SceneCollection *sc_parent, const int type, const char *name); @@ -61,6 +62,8 @@ void BKE_collection_object_move(struct ID *owner_id, struct SceneCollection *sc_ bool BKE_collection_object_exists(struct SceneCollection *scene_collection, struct Object *ob); struct SceneCollection *BKE_collection_from_index(struct Scene *scene, const int index); +bool BKE_collection_objects_select(struct ViewLayer *view_layer, struct SceneCollection *scene_collection); + struct Group *BKE_collection_group_create(struct Main *bmain, struct Scene *scene, struct LayerCollection *lc); void BKE_collection_reinsert_after(const struct Scene *scene, struct SceneCollection *sc_reinsert, struct SceneCollection *sc_after); -- cgit v1.2.3