mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-06-25 17:10:43 +00:00
Update engine.ts
This commit is contained in:
parent
b89fc36cd0
commit
8a165321b7
1 changed files with 1 additions and 1 deletions
|
|
@ -224,7 +224,7 @@ class ModelManager {
|
|||
|
||||
const toMerge = [] as BABYLON.Mesh[];
|
||||
for (const mesh of _toMerge) {
|
||||
const newMesh = mesh.clone(mesh.name + '_bakeMerged', null, true);
|
||||
const newMesh = mesh.name.endsWith('_realized') ? mesh : mesh.clone(mesh.name + '_bakeMerged', null, true);
|
||||
newMesh.makeGeometryUnique();
|
||||
applyMorphTargetsToMesh(newMesh);
|
||||
if (newMesh.parent === this.root) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue