More crying

This commit is contained in:
mcrcortex
2025-01-28 06:18:06 +10:00
parent 4d6859db43
commit b6289a901c
3 changed files with 4 additions and 4 deletions

View File

@@ -117,7 +117,7 @@ public class NodeCleaner {
private boolean shouldCleanGeometry() {
// if there is less than 200mb of space, clean
return this.nodeManager.getGeometryManager().getRemainingCapacity() < 500_000_000L;
return this.nodeManager.getGeometryManager().getRemainingCapacity() < 3_000_000_000L;
}
private void onDownload(long ptr, long size) {

View File

@@ -816,11 +816,11 @@ public class NodeManager {
if (this.nodeData.getNodeGeometry(pId) == NULL_GEOMETRY_ID) {
//If the parent has null geometry we must first fill it before we can remove it
Logger.error("TODO: THIS");
//Logger.error("TODO: THIS");
} else {
//Else make the parent node a leaf node and remove all the children
Logger.error("TODO: THIS 2");
//Logger.error("TODO: THIS 2");
}
//this.removeGeometryInternal(pos, nodeId);
return;

View File

@@ -57,7 +57,7 @@ void main() {
}
UnpackedNode node;
unpackNode(node, gl_GlobalInvocationID.x);
if (isEmptyMesh(node) || !hasMesh(node)) {
if (isEmptyMesh(node) || (!hasMesh(node)) || (!hasChildren(node))) {
return;
}
bubbleSort(0, gl_GlobalInvocationID.x, vis);