mirror of
https://github.com/Relintai/broken_seals.git
synced 2024-11-13 20:47:19 +01:00
Properly call initialize() in mm material 's render.
This commit is contained in:
parent
b5dbe0b6dd
commit
4237b0c7c9
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user