mirror of
https://github.com/Relintai/terraman.git
synced 2025-04-23 21:43:23 +02:00
Moved a mesher vertex count check lower. This fixes missing meshes when none of the mesh data resources are fully in a chunk.
This commit is contained in:
parent
8362eaf58e
commit
e5c860e578
@ -153,14 +153,6 @@ void TerraPropJob::phase_prop() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (get_prop_mesher()->get_vertex_count() == 0) {
|
|
||||||
reset_stages();
|
|
||||||
|
|
||||||
set_complete(true); //So threadpool knows it's done
|
|
||||||
next_job();
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (should_return()) {
|
if (should_return()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -210,6 +202,14 @@ void TerraPropJob::phase_prop() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (get_prop_mesher()->get_vertex_count() == 0) {
|
||||||
|
reset_stages();
|
||||||
|
|
||||||
|
set_complete(true); //So threadpool knows it's done
|
||||||
|
next_job();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
reset_stages();
|
reset_stages();
|
||||||
|
Loading…
Reference in New Issue
Block a user