Editor for stability and overloaded nodes. LYN-2904, LYN-3059, LYN-3234, LYN-2888
This commit is contained in:
@@ -332,7 +332,8 @@ namespace ScriptCanvasEditor::Nodes
|
||||
contextGroup = TranslationContextGroup::ClassMethod;
|
||||
break;
|
||||
default:
|
||||
AZ_Assert(false, "Invalid node type");
|
||||
AZ_Error("ScriptCanvas", false, "Invalid method node type, node creation failed. This node nodes to be deleted.");
|
||||
break;
|
||||
}
|
||||
|
||||
graphCanvasEntity->Init();
|
||||
|
||||
@@ -136,7 +136,7 @@ namespace
|
||||
return;
|
||||
}
|
||||
|
||||
if (behaviorClass)
|
||||
if (behaviorClass && !isOverloaded)
|
||||
{
|
||||
auto excludeMethodAttributeData = azdynamic_cast<const AZ::Edit::AttributeData<AZ::Script::Attributes::ExcludeFlags>*>(AZ::FindAttribute(AZ::Script::Attributes::ExcludeFrom, method.m_attributes));
|
||||
if (ShouldExcludeFromNodeList(excludeMethodAttributeData, behaviorClass->m_azRtti ? behaviorClass->m_azRtti->GetTypeId() : behaviorClass->m_typeId))
|
||||
|
||||
Reference in New Issue
Block a user