Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDalai Felinto <dalai@blender.org>2021-09-29 10:35:05 +0300
committerDalai Felinto <dalai@blender.org>2021-09-29 10:58:55 +0300
commit8cbec0beb2f31447dc20784f66334c997bbc3b0f (patch)
tree63656fd097837223eb95bfb643cc22e1d9fe9a25 /source/blender/blenloader/intern/versioning_300.c
parenta285299ebbf9dcb6af5734d3933b4836d38c188f (diff)
Fix/bypass doversion for wire new colors
Some cases were not covered by the original doversion in 4a0ddeb62bb. For now we make it always change the wire color regardless of whether it was changed before or not. This do a subversion bump.
Diffstat (limited to 'source/blender/blenloader/intern/versioning_300.c')
-rw-r--r--source/blender/blenloader/intern/versioning_300.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/versioning_300.c b/source/blender/blenloader/intern/versioning_300.c
index ea368c0b3b1..71c7e7cac6a 100644
--- a/source/blender/blenloader/intern/versioning_300.c
+++ b/source/blender/blenloader/intern/versioning_300.c
@@ -606,6 +606,10 @@ void do_versions_after_linking_300(Main *bmain, ReportList *UNUSED(reports))
}
}
+ if (!MAIN_VERSION_ATLEAST(bmain, 300, 30)) {
+ do_versions_idproperty_ui_data(bmain);
+ }
+
/**
* Versioning code until next subversion bump goes here.
*
@@ -618,7 +622,6 @@ void do_versions_after_linking_300(Main *bmain, ReportList *UNUSED(reports))
*/
{
/* Keep this block, even when empty. */
- do_versions_idproperty_ui_data(bmain);
}
}