mirror of
https://github.com/Doodle3D/Doodle3D-Core.git
synced 2024-11-04 21:53:24 +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:
|
||||
let first = true;
|
||||
for (const space of action.data.data.spaces) {
|
||||
const { spaces } = action.data;
|
||||
for (const space of spaces) {
|
||||
if (first) {
|
||||
if (!state.spaces.world) state = addSpaceActive(state, space.matrix, 'world');
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user