mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-31 09:13:56 +02:00
wip
This commit is contained in:
@@ -207,6 +207,28 @@ const data = localStorage.getItem('roomData') != null ? JSON.parse(localStorage.
|
||||
withHabaki: false,
|
||||
},
|
||||
},
|
||||
pillars: {
|
||||
nw: {
|
||||
material: null,
|
||||
color: [0.9, 0.9, 0.9],
|
||||
show: false,
|
||||
},
|
||||
ne: {
|
||||
material: null,
|
||||
color: [0.9, 0.9, 0.9],
|
||||
show: false,
|
||||
},
|
||||
sw: {
|
||||
material: null,
|
||||
color: [0.9, 0.9, 0.9],
|
||||
show: false,
|
||||
},
|
||||
se: {
|
||||
material: null,
|
||||
color: [0.9, 0.9, 0.9],
|
||||
show: false,
|
||||
},
|
||||
},
|
||||
flooring: {
|
||||
material: 'wood',
|
||||
color: [0.9, 0.9, 0.9],
|
||||
@@ -257,6 +279,30 @@ if (data.heya.options.walls == null) {
|
||||
},
|
||||
};
|
||||
}
|
||||
if (data.heya.options.pillars == null) {
|
||||
data.heya.options.pillars = {
|
||||
nw: {
|
||||
material: null,
|
||||
color: [0.9, 0.9, 0.9],
|
||||
show: false,
|
||||
},
|
||||
ne: {
|
||||
material: null,
|
||||
color: [0.9, 0.9, 0.9],
|
||||
show: false,
|
||||
},
|
||||
sw: {
|
||||
material: null,
|
||||
color: [0.9, 0.9, 0.9],
|
||||
show: false,
|
||||
},
|
||||
se: {
|
||||
material: null,
|
||||
color: [0.9, 0.9, 0.9],
|
||||
show: false,
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
let latestData = deepClone(data);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user