diff --git a/Brio/UI/Windows/Specialized/PosingOverlayWindow.cs b/Brio/UI/Windows/Specialized/PosingOverlayWindow.cs index 211ec104..b549abb6 100644 --- a/Brio/UI/Windows/Specialized/PosingOverlayWindow.cs +++ b/Brio/UI/Windows/Specialized/PosingOverlayWindow.cs @@ -374,7 +374,7 @@ private unsafe void DrawGizmo(PosingCapability posing, OverlayUIState uiState) { Position = (Vector3)charaBase->CharacterBase.DrawObject.Object.Position, Rotation = (Quaternion)charaBase->CharacterBase.DrawObject.Object.Rotation, - Scale = (Vector3)charaBase->CharacterBase.DrawObject.Object.Scale * charaBase->ScaleFactor + Scale = Vector3.Clamp((Vector3)charaBase->CharacterBase.DrawObject.Object.Scale * charaBase->ScaleFactor, new Vector3(.5f), new Vector3(1.5f)) }.ToMatrix(); worldViewMatrix = modelMatrix * viewMatrix; @@ -411,7 +411,7 @@ private unsafe void DrawGizmo(PosingCapability posing, OverlayUIState uiState) newTransform = matrix.ToTransform(); _trackingTransform = newTransform; } - + if(ImGuizmo.Manipulate( ref worldViewMatrix.M11, ref projectionMatrix.M11,