mirror of
https://github.com/lubosz/overte.git
synced 2025-04-16 00:08:18 +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 += "model url: " + properties.modelURL + "\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 });
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue