[Bf-blender-cvs] [4e43e09ccae] temp_bmesh_multires: Sculpt dyntopo: increment subversion.

Joseph Eagar noreply at git.blender.org
Thu Sep 2 20:09:00 CEST 2021


Commit: 4e43e09ccae8301d75b141a873b3e9d9275872e9
Author: Joseph Eagar
Date:   Thu Sep 2 11:08:28 2021 -0700
Branches: temp_bmesh_multires
https://developer.blender.org/rB4e43e09ccae8301d75b141a873b3e9d9275872e9

Sculpt dyntopo: increment subversion.

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

M	source/blender/blenkernel/BKE_blender_version.h
M	source/blender/blenloader/intern/versioning_300.c

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

diff --git a/source/blender/blenkernel/BKE_blender_version.h b/source/blender/blenkernel/BKE_blender_version.h
index 5dc4ebaa7a4..e2788020628 100644
--- a/source/blender/blenkernel/BKE_blender_version.h
+++ b/source/blender/blenkernel/BKE_blender_version.h
@@ -39,7 +39,7 @@ extern "C" {
 
 /* Blender file format version. */
 #define BLENDER_FILE_VERSION BLENDER_VERSION
-#define BLENDER_FILE_SUBVERSION 20
+#define BLENDER_FILE_SUBVERSION 21
 
 /* Minimum Blender version that supports reading file written with the current
  * version. Older Blender versions will test this and show a warning if the file
diff --git a/source/blender/blenloader/intern/versioning_300.c b/source/blender/blenloader/intern/versioning_300.c
index 29be6fd89e1..f36220e2b99 100644
--- a/source/blender/blenloader/intern/versioning_300.c
+++ b/source/blender/blenloader/intern/versioning_300.c
@@ -1114,6 +1114,10 @@ void blo_do_versions_300(FileData *fd, Library *UNUSED(lib), Main *bmain)
 
   if (!MAIN_VERSION_ATLEAST(bmain, 300, 21)) {
     LISTBASE_FOREACH (Brush *, br, &bmain->brushes) {
+      /* try to detect beta testers' files by seeing
+        if autosmooth_fset_slide is 0; this will
+        not work once it is added to DNA defaults
+        (right now it's being set in BKE_brush_sculpt_reset).*/
       if (br->autosmooth_fset_slide == 0.0f) {
         Brush defbrush = *br;



More information about the Bf-blender-cvs mailing list