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