Skip to content

Commit 146287b

Browse files
committed
Fixed node menu not taking graph type in account
1 parent f561f61 commit 146287b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/com.alelievr.NodeGraphProcessor/Editor/Views/BaseGraphView.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1231,7 +1231,7 @@ protected virtual void InitializeView() {}
12311231
public virtual IEnumerable<(string path, Type type)> FilterCreateNodeMenuEntries()
12321232
{
12331233
// By default we don't filter anything
1234-
foreach (var nodeMenuItem in NodeProvider.GetNodeMenuEntries())
1234+
foreach (var nodeMenuItem in NodeProvider.GetNodeMenuEntries(graph))
12351235
yield return nodeMenuItem;
12361236

12371237
// TODO: add exposed properties to this list

0 commit comments

Comments
 (0)