Improve stage logic a bit.

This commit is contained in:
Relintai 2021-08-10 09:49:22 +02:00
parent 6ec8e40ea0
commit 604d895ac9

View File

@ -214,7 +214,7 @@ void PropInstancePropJob::phase_prop() {
}
if (get_prop_mesher()->get_vertex_count() == 0) {
//reset_stages();
reset_stages();
set_complete(true); //So threadpool knows it's done
return;
@ -290,6 +290,7 @@ void PropInstancePropJob::phase_prop() {
#endif
reset_stages();
next_phase();
}