From 03d571f2a86ff719290aafcdef797bb8d40f0401 Mon Sep 17 00:00:00 2001 From: casperlamboo Date: Thu, 23 Nov 2017 14:50:45 +0100 Subject: [PATCH] fix thumbnail --- src/utils/exportUtils.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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));