mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 20:58:38 +02:00
Add sitting points to the model properties display
This commit is contained in:
parent
a8c3501bdd
commit
cce6132a07
1 changed files with 10 additions and 1 deletions
|
@ -752,7 +752,16 @@ function Tooltip() {
|
||||||
text += "ID: " + properties.id + "\n"
|
text += "ID: " + properties.id + "\n"
|
||||||
text += "model url: " + properties.modelURL + "\n"
|
text += "model url: " + properties.modelURL + "\n"
|
||||||
text += "animation url: " + properties.animationURL + "\n"
|
text += "animation url: " + properties.animationURL + "\n"
|
||||||
|
if (properties.sittingPoints.length > 0) {
|
||||||
|
text += properties.sittingPoints.length + " sitting points: "
|
||||||
|
for (var i = 0; i < properties.sittingPoints.length; ++i) {
|
||||||
|
text += properties.sittingPoints[i].name + " "
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
text += "No sitting points"
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
Overlays.editOverlay(this.textOverlay, { text: text });
|
Overlays.editOverlay(this.textOverlay, { text: text });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue