mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2025-01-31 02:32:53 +08:00
fix: scale adjuster tool rotation is not updated appropriately (#1023)
Closes: #1003
This commit is contained in:
parent
159865e6cd
commit
a42295e0e6
@ -179,6 +179,8 @@ namespace nadena.dev.modular_avatar.core.editor
|
|||||||
}
|
}
|
||||||
|
|
||||||
var handleSize = HandleUtility.GetHandleSize(Tools.handlePosition);
|
var handleSize = HandleUtility.GetHandleSize(Tools.handlePosition);
|
||||||
|
_handleRotation = Tools.handleRotation;
|
||||||
|
|
||||||
EditorGUI.BeginChangeCheck();
|
EditorGUI.BeginChangeCheck();
|
||||||
_gizmoScale = Handles.ScaleHandle(_gizmoScale, Tools.handlePosition, _handleRotation, handleSize);
|
_gizmoScale = Handles.ScaleHandle(_gizmoScale, Tools.handlePosition, _handleRotation, handleSize);
|
||||||
if (EditorGUI.EndChangeCheck())
|
if (EditorGUI.EndChangeCheck())
|
||||||
|
Loading…
Reference in New Issue
Block a user