[Bf-blender-cvs] [45439dfe4c0] master: Preferences: remove special case for copying previous settings
Campbell Barton
noreply at git.blender.org
Thu Oct 28 09:03:04 CEST 2021
Commit: 45439dfe4c05eabaa83d0c1b75463966b5ba896d
Author: Campbell Barton
Date: Thu Oct 28 17:57:18 2021 +1100
Branches: master
https://developer.blender.org/rB45439dfe4c05eabaa83d0c1b75463966b5ba896d
Preferences: remove special case for copying previous settings
This was only needed for skipping version numbers when the numbering
scheme changed for 3.0.
===================================================================
M release/scripts/startup/bl_operators/userpref.py
===================================================================
diff --git a/release/scripts/startup/bl_operators/userpref.py b/release/scripts/startup/bl_operators/userpref.py
index 67a02f6e1f4..1363bcf60e4 100644
--- a/release/scripts/startup/bl_operators/userpref.py
+++ b/release/scripts/startup/bl_operators/userpref.py
@@ -100,14 +100,6 @@ class PREFERENCES_OT_copy_prev(Operator):
version_new = ((version[0] * 100) + version[1])
version_old = ((version[0] * 100) + version[1]) - 1
- # Special case, remove when the version is > 3.0.
- if version_new == 300:
- version_new = 294
- version_old = 293
- else:
- print("TODO: remove exception!")
- # End special case.
-
# Ensure we only try to copy files from a point release.
# The check below ensures the second numbers match.
while (version_new % 100) // 10 == (version_old % 100) // 10:
More information about the Bf-blender-cvs
mailing list