Properly call initialize() in mm material 's render.

This commit is contained in:
Relintai 2022-01-21 13:35:14 +01:00
parent b5dbe0b6dd
commit 4237b0c7c9

View File

@ -49,15 +49,14 @@ func remove_node(node : MMNode) -> void:
emit_changed()
func render() -> void:
initialize()
if USE_THREADS:
render_threaded()
else:
render_non_threaded()
func render_non_threaded() -> void:
if !initialized:
initialize()
var did_render : bool = true
while did_render: