|
|
|
@ -58,6 +58,8 @@ class ShapeSplitter {
|
|
|
|
attributes: curAttributes,
|
|
|
|
attributes: curAttributes,
|
|
|
|
}));
|
|
|
|
}));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// don't clone id of splitted object
|
|
|
|
|
|
|
|
delete exported.id;
|
|
|
|
let prevExported = Object.assign({}, exported);
|
|
|
|
let prevExported = Object.assign({}, exported);
|
|
|
|
let curExported = Object.assign({}, exported);
|
|
|
|
let curExported = Object.assign({}, exported);
|
|
|
|
prevExported.shapes = prevPositionList;
|
|
|
|
prevExported.shapes = prevPositionList;
|
|
|
|
@ -71,4 +73,4 @@ class ShapeSplitter {
|
|
|
|
return [exported];
|
|
|
|
return [exported];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|