fix: scale adjuster tool rotation is not updated appropriately

Closes: #1003
This commit is contained in:
bd_ 2024-08-19 18:43:23 -07:00
parent 159865e6cd
commit a10da0c07e

View File

@ -179,6 +179,8 @@ namespace nadena.dev.modular_avatar.core.editor
}
var handleSize = HandleUtility.GetHandleSize(Tools.handlePosition);
_handleRotation = Tools.handleRotation;
EditorGUI.BeginChangeCheck();
_gizmoScale = Handles.ScaleHandle(_gizmoScale, Tools.handlePosition, _handleRotation, handleSize);
if (EditorGUI.EndChangeCheck())