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:
Diffstat (limited to 'source/blender/blenloader/intern')
-rw-r--r--source/blender/blenloader/intern/versioning_280.c26
-rw-r--r--source/blender/blenloader/intern/versioning_userdef.c13
2 files changed, 27 insertions, 12 deletions
diff --git a/source/blender/blenloader/intern/versioning_280.c b/source/blender/blenloader/intern/versioning_280.c
index d0fad1aafab..627b38a58e8 100644
--- a/source/blender/blenloader/intern/versioning_280.c
+++ b/source/blender/blenloader/intern/versioning_280.c
@@ -4466,18 +4466,7 @@ void blo_do_versions_280(FileData *fd, Library *UNUSED(lib), Main *bmain)
}
}
- /**
- * Versioning code until next subversion bump goes here.
- *
- * \note Be sure to check when bumping the version:
- * - "versioning_userdef.c", #BLO_version_defaults_userpref_blend
- * - "versioning_userdef.c", #do_versions_theme
- *
- * \note Keep this message at the bottom of the function.
- */
- {
- /* Keep this block, even when empty. */
-
+ if (!MAIN_VERSION_ATLEAST(bmain, 283, 5)) {
/* Alembic Transform Cache changed from world to local space. */
LISTBASE_FOREACH (Object *, ob, &bmain->objects) {
LISTBASE_FOREACH (bConstraint *, con, &ob->constraints) {
@@ -4513,4 +4502,17 @@ void blo_do_versions_280(FileData *fd, Library *UNUSED(lib), Main *bmain)
}
}
}
+
+ /**
+ * Versioning code until next subversion bump goes here.
+ *
+ * \note Be sure to check when bumping the version:
+ * - "versioning_userdef.c", #BLO_version_defaults_userpref_blend
+ * - "versioning_userdef.c", #do_versions_theme
+ *
+ * \note Keep this message at the bottom of the function.
+ */
+ {
+ /* Keep this block, even when empty. */
+ }
}
diff --git a/source/blender/blenloader/intern/versioning_userdef.c b/source/blender/blenloader/intern/versioning_userdef.c
index 94ee8d46675..f70988c9277 100644
--- a/source/blender/blenloader/intern/versioning_userdef.c
+++ b/source/blender/blenloader/intern/versioning_userdef.c
@@ -175,6 +175,19 @@ static void do_versions_theme(const UserDef *userdef, bTheme *btheme)
FROM_DEFAULT_V4_UCHAR(space_info.info_operator_text);
}
+ if (!USER_VERSION_ATLEAST(283, 5)) {
+ FROM_DEFAULT_V4_UCHAR(space_graph.time_marker_line);
+ FROM_DEFAULT_V4_UCHAR(space_action.time_marker_line);
+ FROM_DEFAULT_V4_UCHAR(space_nla.time_marker_line);
+ FROM_DEFAULT_V4_UCHAR(space_sequencer.time_marker_line);
+ FROM_DEFAULT_V4_UCHAR(space_clip.time_marker_line);
+ FROM_DEFAULT_V4_UCHAR(space_graph.time_marker_line_selected);
+ FROM_DEFAULT_V4_UCHAR(space_action.time_marker_line_selected);
+ FROM_DEFAULT_V4_UCHAR(space_nla.time_marker_line_selected);
+ FROM_DEFAULT_V4_UCHAR(space_sequencer.time_marker_line_selected);
+ FROM_DEFAULT_V4_UCHAR(space_clip.time_marker_line_selected);
+ }
+
/**
* Versioning code until next subversion bump goes here.
*