From fde46f4a9193cd7a84e96cc148f311cfcaace5eb Mon Sep 17 00:00:00 2001 From: Jamie Greunbaum Date: Sun, 1 Oct 2023 18:13:42 -0400 Subject: [PATCH] Default max child nodes for combo actions is set to -1 now, so that there is no limit. --- .../Private/Nodes/ComboActionGraphNode_ActionNode.cpp | 2 +- .../ComboInput/Private/Nodes/ComboActionGraphNode_StartNode.cpp | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/ComboInput/Private/Nodes/ComboActionGraphNode_ActionNode.cpp b/Source/ComboInput/Private/Nodes/ComboActionGraphNode_ActionNode.cpp index 97d47bf..5993ede 100644 --- a/Source/ComboInput/Private/Nodes/ComboActionGraphNode_ActionNode.cpp +++ b/Source/ComboInput/Private/Nodes/ComboActionGraphNode_ActionNode.cpp @@ -26,7 +26,7 @@ UComboActionGraphNode_ActionNode::UComboActionGraphNode_ActionNode() this->bAutoStarts = false; - this->MaxChildrenNodes = 1; + this->MaxChildrenNodes = -1; } void UComboActionGraphNode_ActionNode::PreProcessNode(const TScriptInterface &Manager) diff --git a/Source/ComboInput/Private/Nodes/ComboActionGraphNode_StartNode.cpp b/Source/ComboInput/Private/Nodes/ComboActionGraphNode_StartNode.cpp index 15564b7..80e66a0 100644 --- a/Source/ComboInput/Private/Nodes/ComboActionGraphNode_StartNode.cpp +++ b/Source/ComboInput/Private/Nodes/ComboActionGraphNode_StartNode.cpp @@ -23,7 +23,6 @@ UComboActionGraphNode_StartNode::UComboActionGraphNode_StartNode() this->NodeTooltipText = LOCTEXT("ComboActionGraphNode_CompleteTooltip", "* This Node will be added to the graph automatically.\n* This Node cannot be created manually.\n* This Node cannot be deleted.\n* Does not implement any logic."); #endif - // TODO: Once there are Conditional Decorators, this will be replaced this->MaxChildrenNodes = -1; }