11namespace Editor ;
22
3+ /// <summary>
4+ /// Defines the type of the last transform action for replaying.
5+ /// </summary>
36public enum RepeatActionKind
47{
58 None ,
@@ -21,7 +24,7 @@ public static class RepeatActionTool
2124 public static Rotation RotationBasis { get ; private set ; }
2225 public static Vector3 ScaleDelta { get ; private set ; }
2326 public static Vector3 ShearAxis { get ; private set ; }
24- public static Vector3 constraintAxis { get ; private set ; }
27+ public static Vector3 ConstraintAxis { get ; private set ; }
2528 public static float ShearAmount { get ; private set ; }
2629 public static bool WasDuplication { get ; private set ; }
2730
@@ -94,7 +97,7 @@ public static void Commit()
9497 RotationBasis = _pendingRotationBasis ;
9598 ScaleDelta = _pendingScale ;
9699 ShearAxis = _pendingShearAxis ;
97- constraintAxis = _pendingConstraintAxis ;
100+ ConstraintAxis = _pendingConstraintAxis ;
98101 ShearAmount = _pendingShearAmount ;
99102 WasDuplication = _pendingDuplication ;
100103
@@ -103,7 +106,6 @@ public static void Commit()
103106
104107 public static void Clear ( )
105108 {
106- Log . Info ( $ "RepeatActionTool: Clearing action") ;
107109 Kind = RepeatActionKind . None ;
108110 WasDuplication = false ;
109111 }
@@ -124,7 +126,6 @@ public static void Execute()
124126 {
125127 if ( ! HasAction )
126128 {
127- Log . Info ( $ "RepeatActionTool: No action to execute") ;
128129 return ;
129130 }
130131 if ( SceneEditorSession . Active is null ) return ;
0 commit comments