mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-06-25 17:10:43 +00:00
Update blind.ts
This commit is contained in:
parent
f367bc37f8
commit
654c2c5b05
1 changed files with 1 additions and 1 deletions
|
|
@ -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[];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue