Commit: 7abed4e4332ede35d90a96aad2495e4e7747c7c7
Author: Bastien Montagne
Date:   Thu Jun 22 10:26:27 2017 +0200
Branches: master
https://developer.blender.org/rB7abed4e4332ede35d90a96aad2495e4e7747c7c7

Fix T51867: Insert Keyframe I - L / I - R / I - S key combos are broken.

Reorder keyingsets registration order, since it also afects order of I
menu options, better show most used ones first, pure alphabetical order
is not great here... Will likely break some muscle memory though. :|

Based on D2720 by Carlo Andreacchio (@candreacchio), thanks.

===================================================================

M       release/scripts/startup/keyingsets_builtins.py

===================================================================

diff --git a/release/scripts/startup/keyingsets_builtins.py 
b/release/scripts/startup/keyingsets_builtins.py
index ce0b1b62d44..f62e3602bb9 100644
--- a/release/scripts/startup/keyingsets_builtins.py
+++ b/release/scripts/startup/keyingsets_builtins.py
@@ -643,26 +643,29 @@ class BUILTIN_KSI_DeltaScale(KeyingSetInfo):
 
 ###############################
 
+# Note that this controls order of options in 'insert keyframe' menu.
+# Better try to keep some logical order here beyond mere alphabetical one, 
also because of menu entries shortcut.
+# See also T51867.
 classes = (
     BUILTIN_KSI_Available,
-    BUILTIN_KSI_BendyBones,
-    BUILTIN_KSI_DeltaLocation,
-    BUILTIN_KSI_DeltaRotation,
-    BUILTIN_KSI_DeltaScale,
+    BUILTIN_KSI_Location,
+    BUILTIN_KSI_Rotation,
+    BUILTIN_KSI_Scaling,
     BUILTIN_KSI_LocRot,
     BUILTIN_KSI_LocRotScale,
     BUILTIN_KSI_LocScale,
-    BUILTIN_KSI_Location,
     BUILTIN_KSI_RotScale,
-    BUILTIN_KSI_Rotation,
-    BUILTIN_KSI_Scaling,
+    BUILTIN_KSI_DeltaLocation,
+    BUILTIN_KSI_DeltaRotation,
+    BUILTIN_KSI_DeltaScale,
     BUILTIN_KSI_VisualLoc,
+    BUILTIN_KSI_VisualRot,
+    BUILTIN_KSI_VisualScaling,
     BUILTIN_KSI_VisualLocRot,
     BUILTIN_KSI_VisualLocRotScale,
     BUILTIN_KSI_VisualLocScale,
-    BUILTIN_KSI_VisualRot,
     BUILTIN_KSI_VisualRotScale,
-    BUILTIN_KSI_VisualScaling,
+    BUILTIN_KSI_BendyBones,
     BUILTIN_KSI_WholeCharacter,
     BUILTIN_KSI_WholeCharacterSelected,
 )

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to