mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-21 01:45:33 +02:00
wip
This commit is contained in:
@@ -13,7 +13,7 @@ export const tabletopDigitalClock = defineObject({
|
||||
options: {
|
||||
schema: {
|
||||
bodyStyle: {
|
||||
type: 'select',
|
||||
type: 'enum',
|
||||
label: 'Body Style',
|
||||
enum: ['color', 'wood'],
|
||||
},
|
||||
@@ -37,7 +37,7 @@ export const tabletopDigitalClock = defineObject({
|
||||
const [r, g, b] = options.bodyColor;
|
||||
bodyMaterial.albedoColor = new BABYLON.Color3(r, g, b);
|
||||
} else {
|
||||
bodyMaterial.albedoTexture = room.scene.getTextureByName('tabletop_digital_clock_wood');
|
||||
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user