mirror of
https://github.com/Doodle3D/Doodle3D-Core.git
synced 2024-12-22 11:03:48 +01:00
cleanup
This commit is contained in:
parent
a78e1f7251
commit
0c58b2b18c
@ -1,6 +1,6 @@
|
||||
import update from 'react-addons-update';
|
||||
import * as contextTools from '../constants/contextTools.js';
|
||||
import { COLOR_STRING_TO_HEX, COLOR_HEX_TO_STRING } from '../constants/general.js';
|
||||
import { COLOR_STRING_TO_HEX } from '../constants/general.js';
|
||||
import { ERASER_SIZES, BRUSH_SIZES } from '../constants/d2Constants.js';
|
||||
import { SHAPE_TYPE_PROPERTIES } from '../constants/shapeTypeProperties.js';
|
||||
import * as actions from '../actions/index.js';
|
||||
|
@ -96,7 +96,7 @@ export const determineActiveShape3d = (state) => {
|
||||
state.d3.sculpt.activeHandle !== null ||
|
||||
state.d3.twist.active;
|
||||
|
||||
const selectedObjects = state.selection.objects.map(({ id }) => id);
|
||||
// const selectedObjects = state.selection.objects.map(({ id }) => id);
|
||||
const activeShapes = {};
|
||||
for (const id in state.objectsById) {
|
||||
activeShapes[id] = activeTransformer || state.d2.activeShape === id;
|
||||
|
Loading…
Reference in New Issue
Block a user