Preferences: remove special case for copying previous settings
This was only needed for skipping version numbers when the numbering scheme changed for 3.0.
This commit is contained in:
parent
5568599015
commit
45439dfe4c
Notes:
blender-bot
2023-02-14 07:30:31 +01:00
Referenced by commit fabf4ee33d
, Fix T100699: Older preferences from 2.93 wont load
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue