mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-06-25 17:10:43 +00:00
Update woodRingsPendantLight.ts
This commit is contained in:
parent
ddafd9e517
commit
b300f9620c
1 changed files with 1 additions and 1 deletions
|
|
@ -107,7 +107,7 @@ export const woodRingsPendantLight = defineObject({
|
|||
const codeMesh = model.findMesh('__X_CODE__');
|
||||
|
||||
const applyLength = () => {
|
||||
mainNode.position.y = -remap(options.length, 0, 1, 0, 200) / WORLD_SCALE;
|
||||
mainNode.position.y = -remap(options.length, 0, 1, 0, cm(200)) / WORLD_SCALE;
|
||||
codeMesh.morphTargetManager!.getTargetByName('Length')!.influence = options.length;
|
||||
model.updated();
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue