Add GroupArchetype to Visject nodes spawn query check
This commit is contained in:
@@ -36,13 +36,13 @@ namespace FlaxEditor.Surface
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public override bool CanUseNodeType(NodeArchetype nodeArchetype)
|
||||
public override bool CanUseNodeType(GroupArchetype groupArchetype, NodeArchetype nodeArchetype)
|
||||
{
|
||||
if (nodeArchetype.Title == "Function Input" ||
|
||||
nodeArchetype.Title == "Function Output")
|
||||
return true;
|
||||
|
||||
return base.CanUseNodeType(nodeArchetype);
|
||||
return base.CanUseNodeType(groupArchetype, nodeArchetype);
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
|
||||
Reference in New Issue
Block a user