History

Merge remote-tracking branch 'upstream/master' into pointers

SamGondelman committed 8 years ago

Commit 033f6582 parents 61c7ccd ed4ec3231 files · +2358 −600Browse files

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

Unified · Split

interface/src/Application.cpp+7−1
@@ -1400,7 +1400,6 @@ Application::Application(int& argc, char** argv, QElapsedTimer& startupTimer, bo · 1399 unmodified lines
14001400 // Make sure we don't time out during slow operations at startup
14011401 updateHeartbeat();
14021402
1403−
14041403 QTimer* settingsTimer = new QTimer();
14051404 moveToNewNamedThread(settingsTimer, "Settings Thread", [this, settingsTimer]{
14061405 connect(qApp, &Application::beforeAboutToQuit, [this, settingsTimer]{
@@ -1843,6 +1842,9 @@ Application::Application(int& argc, char** argv, QElapsedTimer& startupTimer, bo · 436 unmodified lines
18431842 // Preload Tablet sounds
18441843 DependencyManager::get<TabletScriptingInterface>()->preloadSounds();
18451844
1845+ _pendingIdleEvent = false;
1846+ _pendingRenderEvent = false;
1847+
18461848 qCDebug(interfaceapp) << "Metaverse session ID is" << uuidStringWithoutCurlyBraces(accountManager->getSessionID());
18471849 }
18481850
@@ -4499,8 +4501,11 @@ void Application::resetPhysicsReadyInformation() { · 2650 unmodified lines
44994501
45004502 void Application::reloadResourceCaches() {
45014503 resetPhysicsReadyInformation();
4504+
45024505 // Query the octree to refresh everything in view
45034506 _lastQueriedTime = 0;
4507+ _octreeQuery.incrementConnectionID();
4508+
45044509 queryOctree(NodeType::EntityServer, PacketType::EntityQuery, _entityServerJurisdictions);
45054510
45064511 DependencyManager::get<AssetClient>()->clearCache();
@@ -5561,6 +5566,7 @@ void Application::nodeActivated(SharedNodePointer node) { · 1054 unmodified lines
55615566 // so we will do a proper query during update
55625567 if (node->getType() == NodeType::EntityServer) {
55635568 _lastQueriedTime = 0;
5569+ _octreeQuery.incrementConnectionID();
55645570 }
55655571
55665572 if (node->getType() == NodeType::AudioMixer) {