History

Merging with master

samcake committed 8 years ago

Commit 062bfbd2 parents f044cf7 db2557138 files · +453 −353Browse files

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

Unified · Split

interface/src/Application.cpp+9−3
@@ -149,6 +149,7 @@ · 148 unmodified lines
149149 #include "avatar/AvatarManager.h"
150150 #include "avatar/MyHead.h"
151151 #include "CrashHandler.h"
152+#include "Crashpad.h"
152153 #include "devices/DdeFaceTracker.h"
153154 #include "DiscoverabilityManager.h"
154155 #include "GLCanvas.h"
@@ -668,8 +669,6 @@ bool setupEssentials(int& argc, char** argv, bool runningMarkerExisted) { · 513 unmodified lines
668669 }
669670 #endif
670671
671− Setting::init();
672−
673672 // Tell the plugin manager about our statically linked plugins
674673 auto pluginManager = PluginManager::getInstance();
675674 pluginManager->setInputPluginProvider([] { return getInputPlugins(); });
@@ -921,6 +920,8 @@ Application::Application(int& argc, char** argv, QElapsedTimer& startupTimer, bo · 245 unmodified lines
921920
922921 _logger->setSessionID(accountManager->getSessionID());
923922
923+ setCrashAnnotation("metaverse_session_id", accountManager->getSessionID().toString().toStdString());
924+
924925 if (steamClient) {
925926 qCDebug(interfaceapp) << "[VERSION] SteamVR buildID:" << steamClient->getSteamVRBuildID();
926927 }
@@ -2294,6 +2295,11 @@ void Application::initializeGL() { · 1367 unmodified lines
22942295 _renderEngine->addJob<SecondaryCameraRenderTask>("SecondaryCameraJob", cullFunctor, !DISABLE_DEFERRED);
22952296 #endif
22962297 _renderEngine->addJob<RenderViewTask>("RenderMainView", cullFunctor, !DISABLE_DEFERRED);
2298+
2299+#ifdef Q_OS_OSX
2300+ DeadlockWatchdogThread::resume();
2301+#endif
2302+
22972303 _renderEngine->load();
22982304 _renderEngine->registerScene(_main3DScene);
22992305
@@ -6293,7 +6299,7 @@ void Application::showAssetServerWidget(QString filePath) { · 3993 unmodified lines
62936299 if (!hmd->getShouldShowTablet() && !isHMDMode()) {
62946300 DependencyManager::get<OffscreenUi>()->show(url, "AssetServer", startUpload);
62956301 } else {
6296− static const QUrl url("../dialogs/TabletAssetServer.qml");
6302+ static const QUrl url("hifi/dialogs/TabletAssetServer.qml");
62976303 tablet->pushOntoStack(url);
62986304 }
62996305 }