History

adding constants, removing entity creation in cpp

Wayne Chen committed 7 years ago

Commit ee1a1451 parent 44ed9e62 files · +19 −15Browse files

Showing the changes to interface/src/Application.cpp (1 of 2 files). Show all

Unified · Split

interface/src/Application.cpp+9−9
@@ -1298,15 +1298,15 @@ Application::Application(int& argc, char** argv, QElapsedTimer& startupTimer, bo · 1297 unmodified lines
1298 connect(this, &Application::activeDisplayPluginChanged, this, [&](){1298 connect(this, &Application::activeDisplayPluginChanged, this, [&](){
1299#if !defined(Q_OS_ANDROID)1299#if !defined(Q_OS_ANDROID)
1300 if (!getLoginDialogPoppedUp() && _desktopRootItemCreated) {1300 if (!getLoginDialogPoppedUp() && _desktopRootItemCreated) {
1301 if (isHMDMode()) {1301/* if (isHMDMode()) {*/
1302 createAvatarInputsBar();1302 //createAvatarInputsBar();
1303 auto offscreenUi = getOffscreenUI();1303 //auto offscreenUi = getOffscreenUI();
1304 offscreenUi->hide(AVATAR_INPUTS_BAR_QML.toString());1304 //offscreenUi->hide(AVATAR_INPUTS_BAR_QML.toString());
1305 } else {1305 //} else {
1306 destroyAvatarInputsBar();1306 //destroyAvatarInputsBar();
1307 auto offscreenUi = getOffscreenUI();1307 //auto offscreenUi = getOffscreenUI();
1308 offscreenUi->show(AVATAR_INPUTS_BAR_QML.toString(), "AvatarInputsBar");1308 //offscreenUi->show(AVATAR_INPUTS_BAR_QML.toString(), "AvatarInputsBar");
1309 }1309 /*}*/
1310 }1310 }
1311#endif1311#endif
1312 });1312 });