From 919298a3de059b8439381e254c379e2bb0bb71d1 Mon Sep 17 00:00:00 2001 From: austin Date: Fri, 24 Jan 2025 14:44:37 -0500 Subject: [PATCH] disable client fluid draw cell loading gate --- docs/src/progress/renderertodo.md | 2 ++ .../engine/loadingthreads/ClientLoading.java | 16 ++++++++-------- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/docs/src/progress/renderertodo.md b/docs/src/progress/renderertodo.md index e43400fc..b2321ca0 100644 --- a/docs/src/progress/renderertodo.md +++ b/docs/src/progress/renderertodo.md @@ -1299,6 +1299,8 @@ Save assembly on compile (01/24/2025) Delete old server physics cell on terrain edit +Fix server terrain physics entity positioning +Disable client fluid draw cell loading gate diff --git a/src/main/java/electrosphere/engine/loadingthreads/ClientLoading.java b/src/main/java/electrosphere/engine/loadingthreads/ClientLoading.java index 6d739d23..80a3a5ae 100644 --- a/src/main/java/electrosphere/engine/loadingthreads/ClientLoading.java +++ b/src/main/java/electrosphere/engine/loadingthreads/ClientLoading.java @@ -386,14 +386,14 @@ public class ClientLoading { } //wait for undrawable cells - WindowUtils.updateLoadingWindow("WAITING ON SERVER TO SEND FLUID CHUNKS (" + Globals.fluidCellManager.getUndrawableSize() + ")"); - while(blockForInit && Globals.fluidCellManager.containsUndrawableCell() && Globals.threadManager.shouldKeepRunning()){ - try { - TimeUnit.MILLISECONDS.sleep(10); - } catch (InterruptedException ex) { - ex.printStackTrace(); - } - } + // WindowUtils.updateLoadingWindow("WAITING ON SERVER TO SEND FLUID CHUNKS (" + Globals.fluidCellManager.getUndrawableSize() + ")"); + // while(blockForInit && Globals.fluidCellManager.containsUndrawableCell() && Globals.threadManager.shouldKeepRunning()){ + // try { + // TimeUnit.MILLISECONDS.sleep(10); + // } catch (InterruptedException ex) { + // ex.printStackTrace(); + // } + // } } /**