Use multiple threads to load objects when loading file

This commit is contained in:
Yousef Khadadeh 2025-07-21 18:05:41 +03:00
parent 24b2d47a90
commit 415921d881
3 changed files with 6 additions and 4 deletions

View file

@ -119,9 +119,9 @@ void DrawComponent::transform_temp_update(DrawingProgram& drawP) {
worldAABB = std::nullopt;
}
void DrawComponent::final_update(DrawingProgram& drawP) {
void DrawComponent::final_update(DrawingProgram& drawP, bool invalidateCache) {
initialize_draw_data(drawP);
finalize_update(drawP);
finalize_update(drawP, invalidateCache);
}
void DrawComponent::client_send_place(DrawingProgram& drawP) {