mirror of
https://github.com/overte-org/overte.git
synced 2025-07-16 19:17:16 +02:00
Fix Overlays.getProperty method not returning value to script
This commit is contained in:
parent
4c236b293e
commit
1213a1dfd1
1 changed files with 1 additions and 1 deletions
|
@ -396,7 +396,7 @@ QScriptValue OverlayPropertyResultToScriptValue(QScriptEngine* engine, const Ove
|
|||
if (!value.value.isValid()) {
|
||||
return QScriptValue::UndefinedValue;
|
||||
}
|
||||
return engine->newVariant(value.value);
|
||||
return engine->toScriptValue(value.value);
|
||||
}
|
||||
|
||||
void OverlayPropertyResultFromScriptValue(const QScriptValue& object, OverlayPropertyResult& value) {
|
||||
|
|
Loading…
Reference in a new issue