Showing the changes to libraries/script-engine/src/ScriptEngine.cpp (1 of 5 files). Show all
Unified · Split
| @@ -381,6 +381,9 @@ void ScriptEngine::init() { · 380 unmodified lines | |||
| 381 | 381 | ||
| 382 | auto recordingInterface = DependencyManager::get<RecordingScriptingInterface>(); | 382 | auto recordingInterface = DependencyManager::get<RecordingScriptingInterface>(); |
| 383 | registerGlobalObject("Recording", recordingInterface.data()); | 383 | registerGlobalObject("Recording", recordingInterface.data()); |
| 384 | |||
| 385 | registerGlobalObject("Assets", &_assetScriptingInterface); | ||
| 386 | |||
| 384 | } | 387 | } |
| 385 | 388 | ||
| 386 | void ScriptEngine::registerValue(const QString& valueName, QScriptValue value) { | 389 | void ScriptEngine::registerValue(const QString& valueName, QScriptValue value) { |