mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-24 20:54:13 +02:00
Update ceilingFanLight.ts
This commit is contained in:
@@ -18,7 +18,7 @@ export const ceilingFanLight = defineObject({
|
|||||||
castShadows: false,
|
castShadows: false,
|
||||||
createInstance: ({ scene, model }) => {
|
createInstance: ({ scene, model }) => {
|
||||||
const rotor = model.findMesh('Rotor');
|
const rotor = model.findMesh('Rotor');
|
||||||
model.bakeExcludeMeshes = [rotor, rotor.parent, ...rotor.getChildMeshes()];
|
model.bakeExcludeMeshes = [rotor, ...rotor.getChildMeshes()];
|
||||||
|
|
||||||
return {
|
return {
|
||||||
onInited: () => {
|
onInited: () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user