mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-23 09:54:06 +02:00
Update woodRingsPendantLight.ts
This commit is contained in:
@@ -107,7 +107,7 @@ export const woodRingsPendantLight = defineObject({
|
|||||||
const codeMesh = model.findMesh('__X_CODE__');
|
const codeMesh = model.findMesh('__X_CODE__');
|
||||||
|
|
||||||
const applyLength = () => {
|
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;
|
codeMesh.morphTargetManager!.getTargetByName('Length')!.influence = options.length;
|
||||||
model.updated();
|
model.updated();
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user