Call each MMNode's init_properties in MMMaterial's init. This fixes broken node connections when you open an MMMaterial in the material editor.

This commit is contained in:
Relintai 2022-01-21 13:43:36 +01:00
parent b7a5f6bcbd
commit edd698504b

View File

@ -22,6 +22,7 @@ func initialize():
job.setup(self, "_thread_func")
for n in nodes:
n.init_properties()
n.connect("changed", self, "on_node_changed")
func add_node(node : MMNode) -> void: