1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-31 12:44:05 +02:00
This commit is contained in:
syuilo
2026-02-25 19:15:26 +09:00
parent 08667b4d35
commit a8456a45ab
11 changed files with 32 additions and 24 deletions

View File

@@ -21,8 +21,8 @@ export const cactusS = defineObject({
},
},
placement: 'top',
createInstance: ({ options, root }) => {
const potMesh = root.getChildMeshes().find(m => m.name.includes('__X_POT__')) as BABYLON.Mesh;
createInstance: ({ options, findMesh }) => {
const potMesh = findMesh('__X_POT__');
const potMaterial = potMesh.material as BABYLON.PBRMaterial;
const applyPotColor = () => {