Make sure to set job's state to incomplete before building in PropInstanceMerger. This fixes complex mesh builds when threading is disabled.

This commit is contained in:
Relintai 2021-08-28 11:28:52 +02:00
parent 4cc187303b
commit d9d157bf37

View File

@ -539,6 +539,7 @@ void PropInstanceMerger::_build() {
}
_job->reset();
_job->set_complete(false);
Ref<PropMaterialCache> cache = PropCache::get_singleton()->material_cache_get(_prop_data);