[Bf-blender-cvs] [22bf9507f1b] sculpt-dev: Sculpt: add call to fix ui settings to subversion 32 check.

Joseph Eagar noreply at git.blender.org
Tue Oct 5 11:58:16 CEST 2021


Commit: 22bf9507f1b33fa76010cf7bf7ca24a3a3833274
Author: Joseph Eagar
Date:   Tue Oct 5 02:57:21 2021 -0700
Branches: sculpt-dev
https://developer.blender.org/rB22bf9507f1b33fa76010cf7bf7ca24a3a3833274

Sculpt: add call to fix ui settings
to subversion 32 check.

===================================================================

M	source/blender/blenloader/intern/versioning_300.c

===================================================================

diff --git a/source/blender/blenloader/intern/versioning_300.c b/source/blender/blenloader/intern/versioning_300.c
index 08a8bd0ce67..e2fed4b87a1 100644
--- a/source/blender/blenloader/intern/versioning_300.c
+++ b/source/blender/blenloader/intern/versioning_300.c
@@ -1751,6 +1751,8 @@ void blo_do_versions_300(FileData *fd, Library *UNUSED(lib), Main *bmain)
 
   if (!MAIN_VERSION_ATLEAST(bmain, 300, 32)) {
     LISTBASE_FOREACH (Brush *, brush, &bmain->brushes) {
+      BKE_brush_channelset_ui_init(brush, brush->sculpt_tool);
+
       if (ELEM(brush->sculpt_tool, SCULPT_TOOL_CLAY, SCULPT_TOOL_CLAY_STRIPS) && brush->channels) {
         BRUSHSET_SET_BOOL(brush->channels, autosmooth_use_spacing, true);
         BRUSHSET_SET_FLOAT(brush->channels, autosmooth_spacing, 7.0f);



More information about the Bf-blender-cvs mailing list