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:
Diffstat (limited to 'source/blender/blenkernel/intern/main.c')
-rw-r--r--source/blender/blenkernel/intern/main.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/main.c b/source/blender/blenkernel/intern/main.c
index 659c3944edb..caa29f7817a 100644
--- a/source/blender/blenkernel/intern/main.c
+++ b/source/blender/blenkernel/intern/main.c
@@ -473,6 +473,12 @@ ListBase *which_libbase(Main *bmain, short type)
return &(bmain->cachefiles);
case ID_WS:
return &(bmain->workspaces);
+ case ID_HA:
+ return &(bmain->hairs);
+ case ID_PT:
+ return &(bmain->pointclouds);
+ case ID_VO:
+ return &(bmain->volumes);
}
return NULL;
}
@@ -521,6 +527,9 @@ int set_listbasepointers(Main *bmain, ListBase **lb)
lb[INDEX_ID_ME] = &(bmain->meshes);
lb[INDEX_ID_CU] = &(bmain->curves);
lb[INDEX_ID_MB] = &(bmain->metaballs);
+ lb[INDEX_ID_HA] = &(bmain->hairs);
+ lb[INDEX_ID_PT] = &(bmain->pointclouds);
+ lb[INDEX_ID_VO] = &(bmain->volumes);
lb[INDEX_ID_LT] = &(bmain->lattices);
lb[INDEX_ID_LA] = &(bmain->lights);