dev #10

Merged
ksenia_mikhailova merged 46 commits from dev into main 2024-07-24 12:58:58 +03:00
1 changed files with 5 additions and 2 deletions
Showing only changes of commit 06888e0e3e - Show all commits

View File

@ -49,6 +49,7 @@ const loadModels = async () => {
camera.value?.lookAt(new Vector3(1, 1, 1));
const sidebar_items = []
clickable_items.value = []
for (let index = 0; index < data.length; index++) {
const element = data[index];
sidebar_items.push({ ...element, is_enabled: true })
@ -95,6 +96,8 @@ const loadModels = async () => {
point.name = `${element.id}_clickable`
point.renderOrder = 1
if (clickable_items.value.find(el => el.name == point.name)) continue
clickable_items.value.push(point)
}
}