mirror of
https://github.com/Doodle3D/Doodle3D-Core.git
synced 2024-11-05 06:03:24 +01:00
Fix holes
This commit is contained in:
parent
31fc31d526
commit
a46ac56620
1
src/d3/ShapeMesh.js
vendored
1
src/d3/ShapeMesh.js
vendored
@ -74,6 +74,7 @@ class ShapeMesh extends THREE.Object3D {
|
||||
}
|
||||
|
||||
const objectGeometry = new THREE.Geometry().fromBufferGeometry(this._mesh.geometry);
|
||||
objectGeometry.mergeVertices();
|
||||
let objectBSP = new THREE_BSP(objectGeometry);
|
||||
objectGeometry.dispose();
|
||||
objectBSP = objectBSP.subtract(holes);
|
||||
|
Loading…
Reference in New Issue
Block a user