diff options
author | Bastien Montagne <bastien@blender.org> | 2020-06-02 18:19:54 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2020-06-02 18:30:02 +0300 |
commit | 6a70d7e09f1163bee16570b1a0ec6887447f56e5 (patch) | |
tree | 3a03bc3a39b1dabd8ee90388f36dae9d569e5c6e | |
parent | 9d9f35d9467a078324b8e9bf6224e2f699667d6b (diff) |
Fix utterly broken versionning code for weight modifier.
Own fault in some recent patch rewiew/commit...
-rw-r--r-- | source/blender/blenloader/intern/versioning_290.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } } } |