From fe8803291a759db566cfaa09a4ad64454dc50583 Mon Sep 17 00:00:00 2001 From: sconel Date: Fri, 28 May 2021 13:53:09 -0700 Subject: [PATCH] Fix for referencing now deprecated AZ::Transform constructor --- .../Include/ScriptCanvas/Libraries/Spawning/SpawnNodeable.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gems/ScriptCanvas/Code/Include/ScriptCanvas/Libraries/Spawning/SpawnNodeable.cpp b/Gems/ScriptCanvas/Code/Include/ScriptCanvas/Libraries/Spawning/SpawnNodeable.cpp index b93844b989..21d1fc5264 100644 --- a/Gems/ScriptCanvas/Code/Include/ScriptCanvas/Libraries/Spawning/SpawnNodeable.cpp +++ b/Gems/ScriptCanvas/Code/Include/ScriptCanvas/Libraries/Spawning/SpawnNodeable.cpp @@ -118,7 +118,7 @@ namespace ScriptCanvas::Nodeables::Spawning AZ::Vector3 rotationCopy = rotation; AZ::Quaternion rotationQuat = AZ::Quaternion::CreateFromEulerAnglesDegrees(rotationCopy); - entityTransform->SetWorldTM(AZ::Transform(translation, rotationQuat, AZ::Vector3(scale, scale, scale))); + entityTransform->SetWorldTM(AZ::Transform(translation, rotationQuat, scale)); } };