mirror of
https://github.com/JulianGro/overte.git
synced 2025-08-22 22:06:41 +02:00
Remove 'start' property alias from Base3DOverlay
This commit is contained in:
parent
74f8579922
commit
2e95618bed
1 changed files with 3 additions and 6 deletions
|
@ -66,14 +66,11 @@ void Base3DOverlay::setProperties(const QScriptValue& properties) {
|
|||
|
||||
QScriptValue position = properties.property("position");
|
||||
|
||||
// if "position" property was not there, check to see if they included aliases: start, point, p1
|
||||
// if "position" property was not there, check to see if they included aliases: point, p1
|
||||
if (!position.isValid()) {
|
||||
position = properties.property("start");
|
||||
position = properties.property("p1");
|
||||
if (!position.isValid()) {
|
||||
position = properties.property("p1");
|
||||
if (!position.isValid()) {
|
||||
position = properties.property("point");
|
||||
}
|
||||
position = properties.property("point");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue