More crying
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user