mirror of
https://github.com/yeicor-3d/yet-another-cad-viewer.git
synced 2026-02-13 00:27:14 +01:00
add a couple of useful tools
This commit is contained in:
@@ -15,7 +15,7 @@ export async function mergePartial(glb: Uint8Array, name: string, document: Docu
|
||||
let newDoc = await io.readBinary(glb);
|
||||
|
||||
// noinspection TypeScriptValidateJSTypes
|
||||
// await newDoc.transform(dropByName(name), setNames(name));
|
||||
await newDoc.transform(dropByName(name), setNames(name));
|
||||
|
||||
let merged = document.merge(newDoc);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user