Fix duplicating actor in scene on shift click if the actor has not been moved

This commit is contained in:
Chandler Cox
2023-07-27 16:51:44 -05:00
parent 80bcc0f32e
commit 5cd72c9b24

View File

@@ -469,7 +469,7 @@ namespace FlaxEditor.Gizmo
}
// Apply transformation (but to the parents, not whole selection pool)
if (anyValid || (!_isTransforming && Owner.UseDuplicate))
if (anyValid || (_isTransforming && Owner.UseDuplicate))
{
StartTransforming();
LastDelta = new Transform(translationDelta, rotationDelta, scaleDelta);