Skip to content

Commit

Permalink
Fix materials
Browse files Browse the repository at this point in the history
  • Loading branch information
Upliner committed Dec 29, 2021
1 parent 86622eb commit c4f3a86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion materials.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def get_props(obj):
values = []
groups = set()
def scan_nodes(nodes):
for node in mtl.node_tree.nodes.values():
for node in nodes:
if node.type == "GROUP" and node.name == "charmorph_settings" and node.node_tree.name not in groups:
groups.add(node.node_tree.name)
scan_nodes(node.node_tree.nodes.values())
Expand Down

0 comments on commit c4f3a86

Please sign in to comment.