mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 04:57:58 +02:00
Add setting of drawOnApplicaitonOverlay
This commit is contained in:
parent
9bd7912f9f
commit
a0623c930b
1 changed files with 7 additions and 0 deletions
|
@ -57,6 +57,13 @@ void Base3DOverlay::setProperties(const QScriptValue& properties) {
|
||||||
setDrawInFront(value);
|
setDrawInFront(value);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QScriptValue drawOnApplicationOverlay = properties.property("drawOnApplicationOverlay");
|
||||||
|
|
||||||
|
if (drawOnApplicationOverlay.isValid()) {
|
||||||
|
bool value = drawOnApplicationOverlay.toVariant().toBool();
|
||||||
|
setDrawOnApplicationOverlay(value);
|
||||||
|
}
|
||||||
|
|
||||||
QScriptValue position = properties.property("position");
|
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: start, point, p1
|
||||||
|
|
Loading…
Reference in a new issue