1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-13 15:15:45 +02:00

Update engine.ts

This commit is contained in:
syuilo
2026-04-08 10:06:44 +09:00
parent 64fd4b7c0a
commit 5b6fa78748

View File

@@ -247,6 +247,7 @@ class ModelManager {
}
//newMesh.bakeCurrentTransformIntoVertices();
// TODO: 必要な時だけやる
if (newMesh.getVerticesData(BABYLON.VertexBuffer.UVKind) == null) {
const vertexCount = newMesh.getTotalVertices();
const uvs = new Array(vertexCount * 2).fill(0);