Skip to content

Commit 15e4384

Browse files
committed
Fixing BC regression when non-default activation type is specified in editor
1 parent 9dee233 commit 15e4384

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)