Added 'pass' to cancel_render_and_wait, so if the lines that require ThreadPool are commented out it will not complain about scopes and indents.

This commit is contained in:
Relintai 2021-10-31 13:03:25 +01:00
parent cbca005d6d
commit b78f3c8358

View File

@ -112,6 +112,8 @@ func cancel_render_and_wait() -> void:
ThreadPool.cancel_task_wait(job)
job.cancelled = false
pass
func on_node_changed() -> void:
call_deferred("render")