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/paint_toolslots.c')
-rw-r--r--source/blender/blenkernel/intern/paint_toolslots.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/paint_toolslots.c b/source/blender/blenkernel/intern/paint_toolslots.c
index e9601109fd5..7e58bf1eb8b 100644
--- a/source/blender/blenkernel/intern/paint_toolslots.c
+++ b/source/blender/blenkernel/intern/paint_toolslots.c
@@ -82,6 +82,15 @@ void BKE_paint_toolslots_init_from_main(struct Main *bmain)
if (ts->gp_paint) {
paint_toolslots_init(bmain, &ts->gp_paint->paint);
}
+ if (ts->gp_vertexpaint) {
+ paint_toolslots_init(bmain, &ts->gp_vertexpaint->paint);
+ }
+ if (ts->gp_sculptpaint) {
+ paint_toolslots_init(bmain, &ts->gp_sculptpaint->paint);
+ }
+ if (ts->gp_weightpaint) {
+ paint_toolslots_init(bmain, &ts->gp_weightpaint->paint);
+ }
}
}