Showing the changes to interface/src/Application.cpp (1 of 5 files). Show all
Unified · Split
| @@ -426,7 +426,6 @@ bool setupEssentials(int& argc, char** argv) { · 425 unmodified lines | ||
| 426 | 426 | DependencyManager::set<MessagesClient>(); |
| 427 | 427 | DependencyManager::set<UserInputMapper>(); |
| 428 | 428 | DependencyManager::set<controller::ScriptingInterface, ControllerScriptingInterface>(); |
| 429 | − DependencyManager::set<AssetMappingsScriptingInterface>(); | |
| 430 | 429 | DependencyManager::set<InterfaceParentFinder>(); |
| 431 | 430 | DependencyManager::set<EntityTreeRenderer>(true, qApp, qApp); |
| 432 | 431 | DependencyManager::set<CompositorHelper>(); |
| @@ -1296,7 +1295,7 @@ void Application::initializeUi() { · 863 unmodified lines | ||
| 1296 | 1295 | rootContext->setContextProperty("Quat", new Quat()); |
| 1297 | 1296 | rootContext->setContextProperty("Vec3", new Vec3()); |
| 1298 | 1297 | rootContext->setContextProperty("Uuid", new ScriptUUID()); |
| 1299 | − rootContext->setContextProperty("Assets", DependencyManager::get<AssetMappingsScriptingInterface>().data()); | |
| 1298 | + rootContext->setContextProperty("Assets", new AssetMappingsScriptingInterface()); | |
| 1300 | 1299 | |
| 1301 | 1300 | rootContext->setContextProperty("AvatarList", DependencyManager::get<AvatarManager>().data()); |
| 1302 | 1301 | |