diff --git a/frontend/misc/gltf.ts b/frontend/misc/gltf.ts index 353ceac..28dcf07 100644 --- a/frontend/misc/gltf.ts +++ b/frontend/misc/gltf.ts @@ -56,7 +56,8 @@ export async function mergePartial(url: string, name: string, document: Document await newDoc.transform(setNames(name)); // Merge the new document into the current one - return mergeDocuments(document, newDoc); + mergeDocuments(document, newDoc); + return document; } export async function mergeFinalize(document: Document): Promise {