feat: ignore material output node default values
This commit is contained in:
parent
a63bf66023
commit
254e8e8ca1
@ -73,6 +73,8 @@ def load_node(node_data, node_tree):
|
|||||||
logging.warning(f"Node {target_node.name} output {outputs[idx].name} parameter not supported, skipping ({e})")
|
logging.warning(f"Node {target_node.name} output {outputs[idx].name} parameter not supported, skipping ({e})")
|
||||||
else:
|
else:
|
||||||
logging.warning(f"Node {target_node.name} output length mismatch.")
|
logging.warning(f"Node {target_node.name} output length mismatch.")
|
||||||
|
|
||||||
|
|
||||||
def load_links(links_data, node_tree):
|
def load_links(links_data, node_tree):
|
||||||
""" Load node_tree links from a list
|
""" Load node_tree links from a list
|
||||||
|
|
||||||
@ -153,7 +155,7 @@ def dump_node(node):
|
|||||||
|
|
||||||
dumped_node = node_dumper.dump(node)
|
dumped_node = node_dumper.dump(node)
|
||||||
|
|
||||||
dump_io_needed = (node.type != 'REROUTE')
|
dump_io_needed = (node.type not in ['REROUTE','OUTPUT_MATERIAL'])
|
||||||
|
|
||||||
if dump_io_needed:
|
if dump_io_needed:
|
||||||
io_dumper = Dumper()
|
io_dumper = Dumper()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user