fix build
This commit is contained in:
@@ -192,7 +192,7 @@ public class TestNodeManager {
|
||||
if (geometrySize != 0) {
|
||||
buff = new MemoryBuffer(geometrySize);
|
||||
}
|
||||
var builtGeometry = new BuiltSection(pos, (byte) childExistence, -2, buff, null);
|
||||
var builtGeometry = new BuiltSection(pos, (byte) childExistence, -2, buff, null, null);
|
||||
this.nodeManager.processGeometryResult(builtGeometry);
|
||||
}
|
||||
|
||||
|
||||
@@ -135,7 +135,8 @@ public class BasicSectionGeometryManager extends AbstractSectionGeometryManager
|
||||
}
|
||||
var oldMetadata = this.sectionMetadata.set(id, null);
|
||||
this.geometry.downloadRemove(oldMetadata.geometryPtr, buffer ->
|
||||
callback.accept(new BuiltSection(oldMetadata.position, oldMetadata.childExistence, oldMetadata.aabb, buffer.copy(), oldMetadata.offsets))
|
||||
//TODO: occupancy
|
||||
callback.accept(new BuiltSection(oldMetadata.position, oldMetadata.childExistence, oldMetadata.aabb, buffer.copy(), oldMetadata.offsets, null))
|
||||
);
|
||||
//this.geometry.free(oldMetadata.geometryPtr);
|
||||
this.invalidatedSectionIds.add(id);
|
||||
|
||||
Reference in New Issue
Block a user