Commit: fabf4ee33def3b8f3555072ffa1d497ac8355da1 Author: Campbell Barton Date: Thu Oct 13 17:33:50 2022 +1100 Branches: master https://developer.blender.org/rBfabf4ee33def3b8f3555072ffa1d497ac8355da1
Fix T100699: Older preferences from 2.93 wont load Even though this was intentionally removed in [0], loading data from older startup files is supported. So show them when available. [0]: 45439dfe4c05eabaa83d0c1b75463966b5ba896d =================================================================== 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 ce23024fed5..6a027c0ce1f 100644 --- a/release/scripts/startup/bl_operators/userpref.py +++ b/release/scripts/startup/bl_operators/userpref.py @@ -89,6 +89,17 @@ class PREFERENCES_OT_copy_prev(Operator): if os.path.isdir(cls._old_version_path(version_split)): return version_split version_old = version_old - 1 + + # Support loading 2.8x..2.9x startup (any older isn't so useful to load). + # NOTE: remove this block for Blender 4.0 and later. + if version_old == 299: + version_old = 294 + while version_old >= 280: + version_split = version_old // 100, version_old % 100 + if os.path.isdir(cls._old_version_path(version_split)): + return version_split + version_old = version_old - 1 + return None @classmethod _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org List details, subscription details or unsubscribe: https://lists.blender.org/mailman/listinfo/bf-blender-cvs