Revert "Add versioning"

This reverts commit 17ea75d929.
Did not mean to push
This commit is contained in:
Weizhen Huang
2025-09-16 18:04:10 +02:00
parent f3c061d1ce
commit 367beb7f6e

View File

@@ -76,9 +76,6 @@ static void do_versions_theme(const UserDef *userdef, bTheme *btheme)
MEMCPY_STRUCT_AFTER(btheme, &U_theme_default, name);
}
printf("VERSION:");
printf("%d", userdef->versionfile);
printf("%d", userdef->subversionfile);
/* Again reset the theme, but only if stored with an early 3.1 alpha version. Some changes were
* done in the release branch and then merged into the 3.1 branch (master). So the previous reset
* wouldn't work for people who saved their preferences with a 3.1 build meanwhile. But we still
@@ -109,14 +106,6 @@ static void do_versions_theme(const UserDef *userdef, bTheme *btheme)
FROM_DEFAULT_V4_UCHAR(space_node.node_zone_repeat);
}
if (!USER_VERSION_ATLEAST(400, 14)) {
FROM_DEFAULT_V4_UCHAR(space_view3d.asset_shelf.back);
FROM_DEFAULT_V4_UCHAR(space_view3d.asset_shelf.header_back);
}
if (!USER_VERSION_ATLEAST(400, 24)) {
memcpy(btheme->tarm, &U_theme_default.tarm, sizeof(*btheme->tarm)*20);
}
if (!USER_VERSION_ATLEAST(400, 24)) {
FROM_DEFAULT_V4_UCHAR(tui.wcol_list_item.inner_sel);
FROM_DEFAULT_V4_UCHAR(space_sequencer.transition);