From 67300e4e2d57cc9c9e4cf6ad549109867b731681 Mon Sep 17 00:00:00 2001 From: casperlamboo Date: Tue, 14 Nov 2017 17:11:03 +0100 Subject: [PATCH] fix imports --- src/reducer/d2/tools/bucketReducer.js | 3 ++- src/utils/selectionUtils.js | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) 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';