mirror of
https://github.com/overte-org/overte.git
synced 2025-04-25 20:36:38 +02:00
remove deprecated _engine member from ScriptEngine
This commit is contained in:
parent
4a3f72ab0b
commit
f09dc1aeac
1 changed files with 2 additions and 2 deletions
|
@ -278,8 +278,8 @@ void ScriptEngine::init() {
|
||||||
QScriptValue localVoxelsValue = scriptValueFromQMetaObject<LocalVoxels>();
|
QScriptValue localVoxelsValue = scriptValueFromQMetaObject<LocalVoxels>();
|
||||||
globalObject().setProperty("LocalVoxels", localVoxelsValue);
|
globalObject().setProperty("LocalVoxels", localVoxelsValue);
|
||||||
|
|
||||||
QScriptValue audioEffectOptionsConstructorValue = _engine.newFunction(AudioEffectOptions::constructor);
|
QScriptValue audioEffectOptionsConstructorValue = newFunction(AudioEffectOptions::constructor);
|
||||||
_engine.globalObject().setProperty("AudioEffectOptions", audioEffectOptionsConstructorValue);
|
globalObject().setProperty("AudioEffectOptions", audioEffectOptionsConstructorValue);
|
||||||
|
|
||||||
qScriptRegisterMetaType(this, injectorToScriptValue, injectorFromScriptValue);
|
qScriptRegisterMetaType(this, injectorToScriptValue, injectorFromScriptValue);
|
||||||
qScriptRegisterMetaType(this, inputControllerToScriptValue, inputControllerFromScriptValue);
|
qScriptRegisterMetaType(this, inputControllerToScriptValue, inputControllerFromScriptValue);
|
||||||
|
|
Loading…
Reference in a new issue