mirror of
https://github.com/Doodle3D/Doodle3D-Core.git
synced 2024-12-22 11:03:48 +01:00
fix open sketch
This commit is contained in:
parent
9996728f9c
commit
b9ed59c8d9
@ -210,7 +210,7 @@ function sketcherReducer(state = initialState, action) {
|
|||||||
|
|
||||||
case actions.OPEN_SKETCH:
|
case actions.OPEN_SKETCH:
|
||||||
let first = true;
|
let first = true;
|
||||||
const { spaces } = action.data;
|
const { spaces } = action.data.data;
|
||||||
for (const space of spaces) {
|
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');
|
||||||
|
Loading…
Reference in New Issue
Block a user