diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2019-03-12 16:57:59 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2019-03-12 17:48:24 +0300 |
commit | 913b1fd29a8cb721c4cb001a10872e7c09e6bbfe (patch) | |
tree | 46d747020d1601e538ee20655c4c9ad3d49e5b90 /source/blender/blenkernel/BKE_collection.h | |
parent | c10d011cc596727db8ff4622a8ae28fd2bb15b39 (diff) |
BKE Collections: add helper to find the scene of a master collection.
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 0390078fc7f..a4b68a8cba2 100644 --- a/source/blender/blenkernel/BKE_collection.h +++ b/source/blender/blenkernel/BKE_collection.h @@ -66,6 +66,7 @@ struct Collection *BKE_collection_copy_master(struct Main *bmain, struct Collect struct Collection *BKE_collection_master(const struct Scene *scene); struct Collection *BKE_collection_master_add(void); +struct Scene *BKE_collection_master_scene_search(const struct Main *bmain, const struct Collection *master_collection); /* Collection Objects */ |