From 2a7e59ae5dbacb651d7a5773bce98fd00485cbb0 Mon Sep 17 00:00:00 2001 From: Preben Eriksen Date: Sun, 23 Oct 2022 12:20:01 +0200 Subject: [PATCH] PE: Fix issue with using "shift" to duplicate object, this only worked every second time if using a large grid. --- Source/Editor/Gizmo/TransformGizmoBase.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Editor/Gizmo/TransformGizmoBase.cs b/Source/Editor/Gizmo/TransformGizmoBase.cs index 42f7b9b48..86135b338 100644 --- a/Source/Editor/Gizmo/TransformGizmoBase.cs +++ b/Source/Editor/Gizmo/TransformGizmoBase.cs @@ -465,7 +465,7 @@ namespace FlaxEditor.Gizmo } // Apply transformation (but to the parents, not whole selection pool) - if (anyValid) + if (anyValid || (!_isTransforming && Owner.UseDuplicate) ) { StartTransforming();