diff options
author | makamys <makamys@outlook.com> | 2022-06-06 16:58:18 +0200 |
---|---|---|
committer | makamys <makamys@outlook.com> | 2022-06-06 16:58:18 +0200 |
commit | 96d5107d408e0328413c70baa4a2005ef98eb6cb (patch) | |
tree | 4637c2725da4ab0334cd93133c710efbdf8be79a /src | |
parent | 04535cc8889a111b5442555872a380e09855a5b7 (diff) | |
download | Neodymium-96d5107d408e0328413c70baa4a2005ef98eb6cb.tar.gz Neodymium-96d5107d408e0328413c70baa4a2005ef98eb6cb.tar.bz2 Neodymium-96d5107d408e0328413c70baa4a2005ef98eb6cb.zip |
Fix meshes not becoming invisible once deleted
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/makamys/lodmod/renderer/LODRenderer.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/makamys/lodmod/renderer/LODRenderer.java b/src/main/java/makamys/lodmod/renderer/LODRenderer.java index a053588..908ab65 100644 --- a/src/main/java/makamys/lodmod/renderer/LODRenderer.java +++ b/src/main/java/makamys/lodmod/renderer/LODRenderer.java @@ -617,6 +617,7 @@ public class LODRenderer { public void removeMesh(Mesh mesh) { deleteMeshFromGPU(mesh); + setMeshVisible(mesh, false); } private void sendMeshToGPU(Mesh mesh) { |