[Bf-blender-cvs] [cf701b0d2a4] sculpt-mode-features: Fix normal radius versioning
Pablo Dobarro
noreply at git.blender.org
Tue Jul 9 15:23:27 CEST 2019
Commit: cf701b0d2a427164649c0ba48921e0b535f4601a
Author: Pablo Dobarro
Date: Tue Jul 9 15:24:00 2019 +0200
Branches: sculpt-mode-features
https://developer.blender.org/rBcf701b0d2a427164649c0ba48921e0b535f4601a
Fix normal radius versioning
===================================================================
M source/blender/blenloader/intern/versioning_280.c
===================================================================
diff --git a/source/blender/blenloader/intern/versioning_280.c b/source/blender/blenloader/intern/versioning_280.c
index 9ccf9b4a7fc..e73d85b982c 100644
--- a/source/blender/blenloader/intern/versioning_280.c
+++ b/source/blender/blenloader/intern/versioning_280.c
@@ -3094,13 +3094,6 @@ void blo_do_versions_280(FileData *fd, Library *UNUSED(lib), Main *bmain)
"Filmic");
}
}
-
- Brush *br;
- for (br = bmain->brushes.first; br; br = br->id.next) {
- if (br->ob_mode & OB_MODE_SCULPT) {
- br->normal_radius_factor = 0.2f;
- }
- }
}
if (!MAIN_VERSION_ATLEAST(bmain, 280, 49)) {
@@ -3523,5 +3516,12 @@ void blo_do_versions_280(FileData *fd, Library *UNUSED(lib), Main *bmain)
LISTBASE_FOREACH (bArmature *, arm, &bmain->armatures) {
arm->flag &= ~(ARM_FLAG_UNUSED_6);
}
+
+ Brush *br;
+ for (br = bmain->brushes.first; br; br = br->id.next) {
+ if (br->ob_mode & OB_MODE_SCULPT) {
+ br->normal_radius_factor = 0.2f;
+ }
+ }
}
}
More information about the Bf-blender-cvs
mailing list