0
0
mirror of https://github.com/Doodle3D/Doodle3D-Core.git synced 2025-05-10 17:33:21 +02:00

fix open sketch

This commit is contained in:
casperlamboo 2018-02-15 12:32:45 +01:00
parent 9996728f9c
commit b9ed59c8d9

@ -210,7 +210,7 @@ function sketcherReducer(state = initialState, action) {
case actions.OPEN_SKETCH:
let first = true;
const { spaces } = action.data;
const { spaces } = action.data.data;
for (const space of spaces) {
if (first) {
if (!state.spaces.world) state = addSpaceActive(state, space.matrix, 'world');