mirror of
https://github.com/Relintai/props.git
synced 2024-11-12 10:15:25 +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) {
|
||||
//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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user