Fixes for node palette exclusion, restrict asset variable type to fix LYN-3090
This commit is contained in:
+2
-2
@@ -122,8 +122,8 @@ namespace ScriptCanvasEditor
|
||||
|
||||
for (const AZ::Uuid& objectId : objectTypes)
|
||||
{
|
||||
// Verify whether this is an allowed BC variable type
|
||||
if (!ScriptCanvas::Data::IsAllowedBehaviorClassVariableType(objectId))
|
||||
ScriptCanvas::Data::Type type = dataRegistry->m_typeIdTraitMap[ScriptCanvas::Data::eType::BehaviorContextObject].m_dataTraits.GetSCType(objectId);
|
||||
if (!type.IsValid() || !dataRegistry->m_creatableTypes.contains(type))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user