Skip to content

Commit fae0401

Browse files
authored
Merge pull request #10039 from Zee2/enableRegressionFix
Fixing BC OnEnable issue when non-default activation type specified in-editor
2 parents 9dee233 + 15e4384 commit fae0401

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Assets/MRTK/SDK/Features/UX/Scripts/BoundsControl/BoundsControl.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -736,8 +736,9 @@ private static T EnsureScriptable<T>(T instance) where T : ScriptableObject
736736

737737
private void OnEnable()
738738
{
739-
CreateRig();
739+
DetermineTargetBounds();
740740
SetActivationFlags();
741+
CreateRig();
741742
CaptureInitialState();
742743
}
743744

0 commit comments

Comments
 (0)