PR feedback
Signed-off-by: lsemp3d <58790905+lsemp3d@users.noreply.github.com>
This commit is contained in:
+3
-2
@@ -70,9 +70,10 @@ namespace ScriptCanvasEditor
|
||||
AZ::ComponentApplicationBus::BroadcastResult(behaviorContext, &AZ::ComponentApplicationRequests::GetBehaviorContext);
|
||||
|
||||
const char* className = m_className.toUtf8().data();
|
||||
auto behaviorClass = behaviorContext->m_classes.find(className);
|
||||
if (behaviorClass != behaviorContext->m_classes.end())
|
||||
if (behaviorContext->m_classes.contains(className))
|
||||
{
|
||||
auto behaviorClass = behaviorContext->m_classes.find(className);
|
||||
|
||||
ScriptCanvasEditorTools::TranslationGeneration translation;
|
||||
translation.TranslateBehaviorClass(behaviorClass->second);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user