Showing the changes to libraries/script-engine/src/ScriptEngine.cpp (1 of 1 file). Show all
Unified · Split
| @@ -278,8 +278,8 @@ void ScriptEngine::init() { · 277 unmodified lines | |||
| 278 | QScriptValue localVoxelsValue = scriptValueFromQMetaObject<LocalVoxels>(); | 278 | QScriptValue localVoxelsValue = scriptValueFromQMetaObject<LocalVoxels>(); |
| 279 | globalObject().setProperty("LocalVoxels", localVoxelsValue); | 279 | globalObject().setProperty("LocalVoxels", localVoxelsValue); |
| 280 | 280 | ||
| 281 | QScriptValue audioEffectOptionsConstructorValue = _engine.newFunction(AudioEffectOptions::constructor); | 281 | QScriptValue audioEffectOptionsConstructorValue = newFunction(AudioEffectOptions::constructor); |
| 282 | _engine.globalObject().setProperty("AudioEffectOptions", audioEffectOptionsConstructorValue); | 282 | globalObject().setProperty("AudioEffectOptions", audioEffectOptionsConstructorValue); |
| 283 | 283 | ||
| 284 | qScriptRegisterMetaType(this, injectorToScriptValue, injectorFromScriptValue); | 284 | qScriptRegisterMetaType(this, injectorToScriptValue, injectorFromScriptValue); |
| 285 | qScriptRegisterMetaType(this, inputControllerToScriptValue, inputControllerFromScriptValue); | 285 | qScriptRegisterMetaType(this, inputControllerToScriptValue, inputControllerFromScriptValue); |