Showing the changes to libraries/script-engine/src/ScriptEngine.cpp (1 of 1 file). Show all
Unified · Split
| @@ -317,7 +317,10 @@ void ScriptEngine::init() { · 316 unmodified lines | |||
| 317 | registerAnimationTypes(this); | 317 | registerAnimationTypes(this); |
| 318 | registerAvatarTypes(this); | 318 | registerAvatarTypes(this); |
| 319 | registerAudioMetaTypes(this); | 319 | registerAudioMetaTypes(this); |
| 320 | _controllerScriptingInterface->registerControllerTypes(this); | 320 | |
| 321 | if (_controllerScriptingInterface) { | ||
| 322 | _controllerScriptingInterface->registerControllerTypes(this); | ||
| 323 | } | ||
| 321 | 324 | ||
| 322 | qScriptRegisterMetaType(this, EntityItemPropertiesToScriptValue, EntityItemPropertiesFromScriptValueHonorReadOnly); | 325 | qScriptRegisterMetaType(this, EntityItemPropertiesToScriptValue, EntityItemPropertiesFromScriptValueHonorReadOnly); |
| 323 | qScriptRegisterMetaType(this, EntityItemIDtoScriptValue, EntityItemIDfromScriptValue); | 326 | qScriptRegisterMetaType(this, EntityItemIDtoScriptValue, EntityItemIDfromScriptValue); |