[Bf-blender-cvs] [6a70d7e09f1] master: Fix utterly broken versionning code for weight modifier.
Bastien Montagne
noreply at git.blender.org
Tue Jun 2 17:30:08 CEST 2020
Commit: 6a70d7e09f1163bee16570b1a0ec6887447f56e5
Author: Bastien Montagne
Date: Tue Jun 2 17:19:54 2020 +0200
Branches: master
https://developer.blender.org/rB6a70d7e09f1163bee16570b1a0ec6887447f56e5
Fix utterly broken versionning code for weight modifier.
Own fault in some recent patch rewiew/commit...
===================================================================
M source/blender/blenloader/intern/versioning_290.c
===================================================================
diff --git a/source/blender/blenloader/intern/versioning_290.c b/source/blender/blenloader/intern/versioning_290.c
index 6574c983b09..1aa569d8336 100644
--- a/source/blender/blenloader/intern/versioning_290.c
+++ b/source/blender/blenloader/intern/versioning_290.c
@@ -249,7 +249,7 @@ void blo_do_versions_290(FileData *fd, Library *UNUSED(lib), Main *bmain)
LISTBASE_FOREACH (Object *, ob, &bmain->objects) {
LISTBASE_FOREACH (ModifierData *, md, &ob->modifiers) {
if (md->type == eModifierType_WeightVGEdit) {
- md->flag &= ~MOD_WVG_EDIT_WEIGHTS_NORMALIZE;
+ ((WeightVGEditModifierData *)md)->edit_flags &= ~MOD_WVG_EDIT_WEIGHTS_NORMALIZE;
}
}
}
More information about the Bf-blender-cvs
mailing list