From b58a2629c76938f29cb158c4acba4001ad040404 Mon Sep 17 00:00:00 2001 From: kidow Date: Mon, 9 Dec 2024 20:25:04 +0800 Subject: [PATCH] Avoid running unnecessary call chains --- ControlFlowUtils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ControlFlowUtils.py b/ControlFlowUtils.py index f65536a..bf6263b 100644 --- a/ControlFlowUtils.py +++ b/ControlFlowUtils.py @@ -761,6 +761,8 @@ If Require_Inputs is enabled, then you must specify the TRUE_IN and FALSE_IN inp If Condition is set to CUSTOM, you may further specify a custom expression which will be evaluated. Within this expression you may use the variables A and B to refer to those respective inputs as well as any named global variables from [Memory Storage] nodes. Most valid Python expressions, types and built-in functions are supported in the custom expression. For a full list of supported operations please consult the file 'Helper.py' included in this node pack. HOVER OVER THE INPUTS AND OUTPUTS FOR MORE INFO. + +When the condition is set to 'CUSTOM', the parameters Input A and Input B used in the custom_expression must not be None. """ def compare(self,A,B,condition,NOT,custom_expression=""):