hot fix for json event input serialization
Signed-off-by: chcurran <82187351+carlitosan@users.noreply.github.com>
This commit is contained in:
@@ -408,7 +408,7 @@ namespace ScriptCanvasEditor::Nodes
|
||||
AZ::BehaviorAzEventDescription behaviorAzEventDesc;
|
||||
AZ::AttributeReader azEventDescAttributeReader(nullptr, azEventDescAttribute);
|
||||
azEventDescAttributeReader.Read<decltype(behaviorAzEventDesc)>(behaviorAzEventDesc);
|
||||
if(behaviorAzEventDesc.m_eventName.empty())
|
||||
if (behaviorAzEventDesc.m_eventName.empty())
|
||||
{
|
||||
AZ_Error("NodeUtils", false, "Cannot create an AzEvent node with empty event name")
|
||||
return {};
|
||||
|
||||
Reference in New Issue
Block a user