mirror of
https://github.com/Relintai/props.git
synced 2025-02-04 16:05:54 +01:00
Improve stage logic a bit.
This commit is contained in:
parent
6ec8e40ea0
commit
604d895ac9
@ -214,7 +214,7 @@ void PropInstancePropJob::phase_prop() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (get_prop_mesher()->get_vertex_count() == 0) {
|
if (get_prop_mesher()->get_vertex_count() == 0) {
|
||||||
//reset_stages();
|
reset_stages();
|
||||||
|
|
||||||
set_complete(true); //So threadpool knows it's done
|
set_complete(true); //So threadpool knows it's done
|
||||||
return;
|
return;
|
||||||
@ -290,6 +290,7 @@ void PropInstancePropJob::phase_prop() {
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
reset_stages();
|
||||||
next_phase();
|
next_phase();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user