diff --git a/package.json b/package.json index f63651a..a40d75e 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "material-editor", "private": true, - "version": "1.0.6", + "version": "1.0.7", "type": "module", "scripts": { "dev": "vite", @@ -32,7 +32,7 @@ "fflate": "^0.8.2", "flatbush": "^3.3.0", "js-angusj-clipper": "^1.2.1", - "pako": "^2.1.0", + "pako": "^1.0.11", "pinia": "^3.0.2", "polylabel": "^1.1.0", "three": "npm:three-cf@^0.122.9", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2670194..58dd3e7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -24,8 +24,8 @@ importers: specifier: ^1.2.1 version: 1.3.1 pako: - specifier: ^2.1.0 - version: 2.1.0 + specifier: ^1.0.11 + version: 1.0.11 pinia: specifier: ^3.0.2 version: 3.0.2(typescript@5.7.3)(vue@3.5.13(typescript@5.7.3)) @@ -706,8 +706,8 @@ packages: engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} hasBin: true - pako@2.1.0: - resolution: {integrity: sha512-w+eufiZ1WuJYgPXbV/PO3NCMEc3xqylkKHzp8bxp1uW4qaSNQUkwmLLEc3kKsfz8lpV1F8Ht3U1Cm+9Srog2ug==} + pako@1.0.11: + resolution: {integrity: sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==} path-browserify@1.0.1: resolution: {integrity: sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==} @@ -1626,7 +1626,7 @@ snapshots: nanoid@3.3.11: {} - pako@2.1.0: {} + pako@1.0.11: {} path-browserify@1.0.1: {} diff --git a/src/common/MaterialSerializer.ts b/src/common/MaterialSerializer.ts index 9001e8b..400cb38 100644 --- a/src/common/MaterialSerializer.ts +++ b/src/common/MaterialSerializer.ts @@ -1,4 +1,4 @@ -import { CADFactory, CADFiler, CADObject, Database, DuplicateRecordCloning, ObjectId, PhysicalMaterialRecord } from "webcad_ue4_api"; +import { CADFactory, CADFiler, CADObject, Database, DuplicateRecordCloning, Factory, LayerNode, ObjectId, PhysicalMaterialRecord } from "webcad_ue4_api"; // TODO: Danger: 注意入侵性代码 // 疑似是WebCAD中的漏洞,当传入new Database()时, diff --git a/src/components/MaterialAdjuster.vue b/src/components/MaterialAdjuster.vue index 8be4fe9..55782d1 100644 --- a/src/components/MaterialAdjuster.vue +++ b/src/components/MaterialAdjuster.vue @@ -10,10 +10,10 @@ - +