mirror of
https://github.com/Doodle3D/Doodle3D-Core.git
synced 2024-12-22 11:03:48 +01:00
fix imports
This commit is contained in:
parent
6b56224b93
commit
f466d15130
@ -2,7 +2,7 @@ import React from 'react';
|
||||
import PropTypes from 'proptypes';
|
||||
import injectSheet from 'react-jss';
|
||||
import { connect } from 'react-redux';
|
||||
import * as actions from 'doodle3d-core/actions';
|
||||
import * as actions from '../actions';
|
||||
import Logo from './Logo.js';
|
||||
import D2Panel from './D2Panel.js';
|
||||
import D3Panel from './D3Panel.js';
|
||||
|
@ -3,8 +3,8 @@ import injectSheet from 'react-jss';
|
||||
import PropTypes from 'prop-types';
|
||||
import { connect } from 'react-redux';
|
||||
import * as CAL from 'cal';
|
||||
import * as toolNames from 'doodle3d-core/constants/d2Tools';
|
||||
import { CANVAS_SIZE } from 'doodle3d-core/constants/d2Constants';
|
||||
import * as toolNames from '../constants/d2Tools';
|
||||
import { CANVAS_SIZE } from '../constants/d2Constants';
|
||||
import createRAFOnce from 'src/js/utils/rafOnce.js';
|
||||
import Grid from 'src/js/design/Grid.js';
|
||||
import BaseTool from 'src/js/design/tools/BaseTool.js';
|
||||
@ -16,7 +16,7 @@ import CircleTool from 'src/js/design/tools/CircleTool.js';
|
||||
import TextTool from 'src/js/design/tools/TextTool.js';
|
||||
import BucketTool from 'src/js/design/tools/BucketTool.js';
|
||||
import PhotoGuideTool from 'src/js/design/tools/PhotoGuideTool.js';
|
||||
import { PIXEL_RATIO } from 'doodle3d-core/constants/general';
|
||||
import { PIXEL_RATIO } from '../constants/general';
|
||||
import ShapesManager from 'src/js/design/ShapesManager.js';
|
||||
import EventGroup from 'src/js/design/EventGroup.js';
|
||||
// import createDebug from 'debug';
|
||||
|
@ -3,21 +3,21 @@ import PropTypes from 'prop-types';
|
||||
import { connect } from 'react-redux';
|
||||
import * as THREE from 'three';
|
||||
import injectSheet from 'react-jss';
|
||||
import { CANVAS_SIZE } from 'doodle3d-core/constants/d2Constants';
|
||||
import ShapesManager from 'doodle3d-core/d3/ShapesManager';
|
||||
import { getSelectedObjectsSelector, getBoundingBox } from 'doodle3d-core/utils/selectionUtils';
|
||||
import { CANVAS_SIZE } from '../constants/d2Constants';
|
||||
import ShapesManager from '../d3/ShapesManager';
|
||||
import { getSelectedObjectsSelector, getBoundingBox } from '../utils/selectionUtils';
|
||||
import createRAFOnce from 'src/js/utils/rafOnce.js';
|
||||
import { hasExtensionsFor } from 'doodle3d-core/utils/WebGLSupport.js';
|
||||
import { PIXEL_RATIO } from 'doodle3d-core/constants/general.js';
|
||||
import * as toolsNames from 'doodle3d-core/constants/d3Tools.js';
|
||||
import { hasExtensionsFor } from '../utils/WebGLSupport.js';
|
||||
import { PIXEL_RATIO } from '../constants/general.js';
|
||||
import * as toolsNames from '../constants/d3Tools.js';
|
||||
import { EventScene, EventObject3D } from 'src/js/preview/EventScene.js';
|
||||
import HeightTransformer from 'src/js/preview/transformers/HeightTransformer.js';
|
||||
import TwistTransformer from 'src/js/preview/transformers/TwistTransformer.js';
|
||||
import SculptTransformer from 'src/js/preview/transformers/SculptTransformer.js';
|
||||
import StampTransformer from 'src/js/preview/transformers/StampTransformer.js';
|
||||
import SelectionBox from 'src/js/preview/SelectionBox.js';
|
||||
import ToonShaderRenderChain from 'doodle3d-core/d3/ToonShaderRenderChain';
|
||||
import RenderChain from 'doodle3d-core/d3/RenderChain';
|
||||
import ToonShaderRenderChain from '../d3/ToonShaderRenderChain';
|
||||
import RenderChain from '../d3/RenderChain';
|
||||
import BaseTransformer from 'src/js/preview/transformers/BaseTransformer.js';
|
||||
import Camera from 'src/js/preview/Camera.js';
|
||||
// import createDebug from 'debug';
|
||||
|
@ -1,9 +1,9 @@
|
||||
import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import * as actions from 'doodle3d-core/actions/index.js';
|
||||
import * as actions from '../actions/index.js';
|
||||
import { connect } from 'react-redux';
|
||||
import * as contextTools from 'doodle3d-core/constants/contextTools';
|
||||
import * as d2Tools from 'doodle3d-core/constants/d2Tools';
|
||||
import * as contextTools from '../constants/contextTools';
|
||||
import * as d2Tools from '../constants/d2Tools';
|
||||
import { createSelector } from 'reselect';
|
||||
import Menu from 'src/js/components/Menu.js';
|
||||
import SubMenu from 'src/js/components/SubMenu.js';
|
||||
|
@ -5,7 +5,7 @@ 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 } from '../../../shape/shapeToPoints.js';
|
||||
import { applyMatrixOnShape, pathToVectorPath } from '../../../utils/VectorUtils.js';
|
||||
import { applyMatrixOnShape, pathToVectorPath } from '../../../utils/vectorUtils.js';
|
||||
import { addObject } from '../../../reducer/objectReducers.js';
|
||||
import subtractShapeFromState from '../../../utils/subtractShapeFromState.js';
|
||||
import { getColor, getFirst, filterType, getObjectsFromIds } from '../../../utils/objectSelectors.js';
|
||||
|
Loading…
Reference in New Issue
Block a user