diff options
Diffstat (limited to 'source/blender/blenkernel/intern/paint_toolslots.c')
-rw-r--r-- | source/blender/blenkernel/intern/paint_toolslots.c | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/source/blender/blenkernel/intern/paint_toolslots.c b/source/blender/blenkernel/intern/paint_toolslots.c index abaf5a96481..a252329b635 100644 --- a/source/blender/blenkernel/intern/paint_toolslots.c +++ b/source/blender/blenkernel/intern/paint_toolslots.c @@ -67,16 +67,21 @@ void BKE_paint_toolslots_init_from_main(struct Main *bmain) for (Scene *scene = bmain->scenes.first; scene; scene = scene->id.next) { ToolSettings *ts = scene->toolsettings; paint_toolslots_init(bmain, &ts->imapaint.paint); - if (ts->sculpt) + if (ts->sculpt) { paint_toolslots_init(bmain, &ts->sculpt->paint); - if (ts->vpaint) + } + if (ts->vpaint) { paint_toolslots_init(bmain, &ts->vpaint->paint); - if (ts->wpaint) + } + if (ts->wpaint) { paint_toolslots_init(bmain, &ts->wpaint->paint); - if (ts->uvsculpt) + } + if (ts->uvsculpt) { paint_toolslots_init(bmain, &ts->uvsculpt->paint); - if (ts->gp_paint) + } + if (ts->gp_paint) { paint_toolslots_init(bmain, &ts->gp_paint->paint); + } } } |