diff --git a/src/utils/exportUtils.js b/src/utils/exportUtils.js index b739c3c..0381a11 100644 --- a/src/utils/exportUtils.js +++ b/src/utils/exportUtils.js @@ -10,7 +10,7 @@ import { shapeToPoints } from '../shape/shapeToPoints.js'; import { SHAPE_TYPE_PROPERTIES } from '../constants/shapeTypeProperties.js'; import { LINE_WIDTH } from '../constants/exportConstants.js'; import { bufferToBase64 } from '../utils/binaryUtils.js'; -import { IMAGE_TYPE, IMAGE_QUALIT } from 'doodle3d-core/constants/saveConstants.js'; +import { IMAGE_TYPE, IMAGE_QUALIT } from '../constants/saveConstants.js'; import createScene from '../d3/createScene.js'; const THREE_BSP = ThreeBSP(THREE); @@ -92,8 +92,6 @@ export function generateExportMesh(state, options = {}) { if (mesh instanceof THREE.Mesh && shapeData.solid) { const { geometry, material } = mesh; - console.log('mesh: ', mesh); - let objectGeometry = geometry.clone(); objectGeometry.mergeVertices(); objectGeometry.applyMatrix(objectMatrix.multiplyMatrices(state.spaces[shapeData.space].matrix, matrix));