Remove empty User Functions and Script Event sections
Signed-off-by: chcurran <82187351+carlitosan@users.noreply.github.com>
This commit is contained in:
@@ -80,12 +80,11 @@ namespace ScriptCanvasEditor
|
||||
GraphCanvas::NodePaletteTreeItem* variablesRoot = root->CreateChildNode<LocalVariablesListNodePaletteTreeItem>("Variables");
|
||||
root->RegisterCategoryNode(variablesRoot, "Variables");
|
||||
|
||||
// We always want to keep these around as place holders
|
||||
GraphCanvas::NodePaletteTreeItem* customEventRoot = root->GetCategoryNode("Script Events");
|
||||
customEventRoot->SetAllowPruneOnEmpty(false);
|
||||
customEventRoot->SetAllowPruneOnEmpty(true);
|
||||
|
||||
GraphCanvas::NodePaletteTreeItem* globalFunctionRoot = root->GetCategoryNode("User Functions");
|
||||
globalFunctionRoot->SetAllowPruneOnEmpty(false);
|
||||
globalFunctionRoot->SetAllowPruneOnEmpty(true);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user