mirror of
https://github.com/Doodle3D/Doodle3D-Core.git
synced 2024-12-22 11:03:48 +01:00
fix import
This commit is contained in:
parent
ec22dc0cf7
commit
68a36c29e3
@ -210,7 +210,8 @@ function sketcherReducer(state = initialState, action) {
|
|||||||
|
|
||||||
case actions.OPEN_SKETCH:
|
case actions.OPEN_SKETCH:
|
||||||
let first = true;
|
let first = true;
|
||||||
for (const space of action.data.data.spaces) {
|
const { spaces } = action.data;
|
||||||
|
for (const space of spaces) {
|
||||||
if (first) {
|
if (first) {
|
||||||
if (!state.spaces.world) state = addSpaceActive(state, space.matrix, 'world');
|
if (!state.spaces.world) state = addSpaceActive(state, space.matrix, 'world');
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user