diff --git a/src/reducer/d2/tools/bucketReducer.js b/src/reducer/d2/tools/bucketReducer.js index fe37944..147e8e8 100644 --- a/src/reducer/d2/tools/bucketReducer.js +++ b/src/reducer/d2/tools/bucketReducer.js @@ -4,7 +4,8 @@ import ClipperShape from 'clipper-js'; import * as actions from '../../../actions/index.js'; import { SHAPE_TYPE_PROPERTIES } from '../../../constants/shapeTypeProperties.js'; import { LINE_WIDTH, CLIPPER_PRECISION } from '../../../constants/d2Constants.js'; -import { shapeToPoints, applyMatrixOnShape, pathToVectorPath } from '../../../shape/shapeDataUtils.js'; +import { shapeToPoints } from '../../../shape/shapeToPoints.js'; +import { applyMatrixOnShape, pathToVectorPath } from '../../../shape/shapeDataUtils.js'; import { addObject } from '../../../reducer/objectReducers.js'; import subtractShapeFromState from '../../../utils/subtractShapeFromState.js'; import { getColor, getFirst, filterType, getObjectsFromIds } from '../../../utils/objectSelectors.js'; diff --git a/src/utils/selectionUtils.js b/src/utils/selectionUtils.js index fc4d5c6..48a941f 100644 --- a/src/utils/selectionUtils.js +++ b/src/utils/selectionUtils.js @@ -1,5 +1,6 @@ import * as THREE from 'three'; -import { shapeToPoints, getPointsBounds } from '../shape/shapeDataUtils.js' +import { shapeToPoints } from '../shape/shapeToPoints.js' +import { getPointsBounds } from '../shape/shapeDataUtils.js' import { Vector } from 'cal'; import arrayMemoizer from './arrayMemoizer.js'; import memoize from 'memoizee';