Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2019-02-08 20:44:37 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2019-02-08 20:53:09 +0300
commit6ba8e71fa2890ec36de6f5012414ff40e5e4b23a (patch)
treea958ad168dcacb91caed9af10b13d7fcd36068f9 /source/blender/blenkernel/BKE_main.h
parent4b4a231250248dc144dc80eefc3b7517ad2d24dc (diff)
BKE_main: add a util to generate/extend a GSet with all ID pointers of a Main database.
Diffstat (limited to 'source/blender/blenkernel/BKE_main.h')
-rw-r--r--source/blender/blenkernel/BKE_main.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_main.h b/source/blender/blenkernel/BKE_main.h
index 872cdc2bcd3..88387b88d96 100644
--- a/source/blender/blenkernel/BKE_main.h
+++ b/source/blender/blenkernel/BKE_main.h
@@ -41,6 +41,7 @@ struct BLI_mempool;
struct BlendThumbnail;
struct Depsgraph;
struct GHash;
+struct GSet;
struct ImBuf;
struct Library;
struct MainLock;
@@ -136,6 +137,8 @@ void BKE_main_unlock(struct Main *bmain);
void BKE_main_relations_create(struct Main *bmain);
void BKE_main_relations_free(struct Main *bmain);
+struct GSet *BKE_main_gset_create(struct Main *bmain, struct GSet *gset);
+
/* *** Generic utils to loop over whole Main database. *** */
/** \return false to stop iteration, true to keep going. */
typedef bool (*MainForeachIDCallback) (struct Main *bmain, struct ID *id, void *user_data);