Update TransformGizmoBase.cs

This commit is contained in:
NoriteSC
2023-12-08 18:57:49 +01:00
parent d8f110793b
commit eb30344e77

View File

@@ -439,7 +439,8 @@ namespace FlaxEditor.Gizmo
{
case Mode.Translate:
UpdateTranslateScale();
VertexSnap();
if (Owner.UseSnapping)
VertexSnap();
break;
case Mode.Scale:
UpdateTranslateScale();
@@ -459,7 +460,7 @@ namespace FlaxEditor.Gizmo
SelectVertexSnaping();
SelectAxis();
}
else
else if (Owner.IsAltKeyDown)
{
verts = null;
otherVerts = null;