Add scripted_expression helper function

This commit is contained in:
Carson Katri 2022-11-20 18:47:37 -05:00
commit 7001a179c0
6 changed files with 22 additions and 0 deletions

View file

@ -30,6 +30,8 @@ def build_node(node_type):
value = value.value
setattr(node, prop.identifier, value)
for node_input in (node.inputs[1:] if _primary_arg is not None else node.inputs):
if not node_input.enabled:
continue
argname = node_input.name.lower().replace(' ', '_')
all_with_name = []
for node_input2 in (node.inputs[1:] if _primary_arg is not None else node.inputs):