Skip to content

Commit d2297a3

Browse files
committed
Adding export, pre-release
1 parent 810a8fd commit d2297a3

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,23 +31,23 @@ The project is in active development. The roadmap is as follows:
3131
- [ ] Hide and show models
3232
- [ ] Viewer - Details TBA
3333

34-
### v0.3.1
34+
### v0.3.1 - 👨‍💻 In progress
3535

36+
- [ ] Projecting models onto models (2D onto 3D) - ✨WIP https://github.com/vojtatom/geometry
37+
- [ ] Styling???
3638
- [ ] Loading points and lines from SHP
3739
- [ ] Extract Utils to separate SDK form metacity editors
3840

39-
### v0.3.0 - 👨‍💻 In progress
41+
### v0.3.0 - ✅ Released
4042

4143
- [x] Remove the conversion process and support switching between transform and table mode
4244
- [x] add create/remove modifiers for hierarchy
4345
- [x] move hierarchy to Editor Context
44-
- [ ] Project export and import - ✨WIP
46+
- [x] Project export and import
4547
- [x] Hierarchy - matadata convert
46-
- [ ] Join Models, serialize
47-
- [ ] Export
48-
- [ ] Import
49-
- [ ] Projecting models onto models (2D onto 3D) - ✨WIP https://github.com/vojtatom/geometry
50-
- [ ] Styling???
48+
- [x] Join Models, serialize
49+
- [x] Export
50+
- [x] Import
5151

5252
### v0.2.1 - ✅ Released
5353

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "metacity-studio",
33
"private": true,
4-
"version": "0.2.1",
4+
"version": "0.3.0",
55
"type": "module",
66
"scripts": {
77
"dev": "vite",

studio/src/utils/hierarchy/nodeGroup.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ export class GroupNode extends Node {
88
children: Node[] = [];
99

1010
addModel(model: EditorModel, data: ModelHierarchyGroup) {
11+
this.data = data.data ?? {};
1112
for (const childNode of data.children) {
1213
if ((childNode as ModelHierarchyGroup).children) {
1314
const nodeData = childNode as ModelHierarchyGroup;
1415
const node = new GroupNode();
15-
node.data = nodeData.data ?? {};
1616
this.addChild(node);
1717
node.addParent(this);
1818
node.addModel(model, nodeData);

0 commit comments

Comments
 (0)