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
12981298 connect(this, &Application::activeDisplayPluginChanged, this, [&](){
12991299 #if !defined(Q_OS_ANDROID)
13001300 if (!getLoginDialogPoppedUp() && _desktopRootItemCreated) {
1301− if (isHMDMode()) {
1302− createAvatarInputsBar();
1303− auto offscreenUi = getOffscreenUI();
1304− offscreenUi->hide(AVATAR_INPUTS_BAR_QML.toString());
1305− } else {
1306− destroyAvatarInputsBar();
1307− auto offscreenUi = getOffscreenUI();
1308− offscreenUi->show(AVATAR_INPUTS_BAR_QML.toString(), "AvatarInputsBar");
1309− }
1301+/* if (isHMDMode()) {*/
1302+ //createAvatarInputsBar();
1303+ //auto offscreenUi = getOffscreenUI();
1304+ //offscreenUi->hide(AVATAR_INPUTS_BAR_QML.toString());
1305+ //} else {
1306+ //destroyAvatarInputsBar();
1307+ //auto offscreenUi = getOffscreenUI();
1308+ //offscreenUi->show(AVATAR_INPUTS_BAR_QML.toString(), "AvatarInputsBar");
1309+ /*}*/
13101310 }
13111311 #endif
13121312 });