Fix ebus node slots not checked for vars (#3994)

Signed-off-by: AMZN-alexpete <26804013+AMZN-alexpete@users.noreply.github.com>
monroegm-disable-blank-issue-2
Alex Peterson 4 years ago committed by GitHub
parent 81966cbcbf
commit 9f06bffc1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -78,6 +78,8 @@ namespace ScriptCanvas
variableIds.insert(scopedVariableId->m_identifier);
}
}
Node::CollectVariableReferences(variableIds);
}
bool EBusEventHandler::ContainsReferencesToVariables(const AZStd::unordered_set< ScriptCanvas::VariableId >& variableIds) const
@ -90,11 +92,14 @@ namespace ScriptCanvas
if (scopedVariableId)
{
return variableIds.find(scopedVariableId->m_identifier) != variableIds.end();
if(variableIds.find(scopedVariableId->m_identifier) != variableIds.end())
{
return true;
}
}
}
return false;
return Node::ContainsReferencesToVariables(variableIds);
}
size_t EBusEventHandler::GenerateFingerprint() const

Loading…
Cancel
Save