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

Update blind.ts

This commit is contained in:
syuilo
2026-04-03 14:07:44 +09:00
parent f367bc37f8
commit 654c2c5b05

View File

@@ -46,7 +46,7 @@ export const blind = defineObject({
open: () => options.open,
});
const blade = model.root.getChildMeshes().find(m => m.name === 'Blade') as BABYLON.Mesh;
const blade = model.findMesh('Blade');
blade.rotation = new BABYLON.Vector3(options.angle, 0, 0);
let blades = [] as BABYLON.Mesh[];