mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-12-05 07:43:49 +01:00
polyfill both tank model and armor
This commit is contained in:
5 files changed
+61
-62
No files matched your search
@@ -10,6 +10,7 @@ import {
|
||||
import type { AbstractVFS } from "@blitzkit/core/src/blitzkit/vfs/abstract";
|
||||
import { Accessor, Document, Node, NodeIO, Scene } from "@gltf-transform/core";
|
||||
import type { APIContext } from "astro";
|
||||
import { polyfillAttributes } from "../../../core/blitzkit/polyfillAttributes";
|
||||
import { vfs } from "../../../core/blitzkit/vfs";
|
||||
|
||||
export { getStaticPaths } from "./_index";
|
||||
@@ -163,6 +164,8 @@ async function extractArmor(vfs: AbstractVFS, fileName: string) {
|
||||
},
|
||||
);
|
||||
|
||||
polyfillAttributes(document, buffer);
|
||||
|
||||
return document;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user