fix build
This commit is contained in:
@@ -192,7 +192,7 @@ public class TestNodeManager {
|
|||||||
if (geometrySize != 0) {
|
if (geometrySize != 0) {
|
||||||
buff = new MemoryBuffer(geometrySize);
|
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);
|
this.nodeManager.processGeometryResult(builtGeometry);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -135,7 +135,8 @@ public class BasicSectionGeometryManager extends AbstractSectionGeometryManager
|
|||||||
}
|
}
|
||||||
var oldMetadata = this.sectionMetadata.set(id, null);
|
var oldMetadata = this.sectionMetadata.set(id, null);
|
||||||
this.geometry.downloadRemove(oldMetadata.geometryPtr, buffer ->
|
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.geometry.free(oldMetadata.geometryPtr);
|
||||||
this.invalidatedSectionIds.add(id);
|
this.invalidatedSectionIds.add(id);
|
||||||
|
|||||||
Reference in New Issue
Block a user