History

Checkpoint before GenericThread.

Howard Stearns committed 11 years ago

Commit b8ca6041 parent 2ca47683 files · +98 −59Browse files

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

Unified · Split

interface/src/Application.cpp+3−2
@@ -771,7 +771,7 @@ void Application::cleanupBeforeQuit() { · 770 unmodified lines
771771
772772 // first stop all timers directly or by invokeMethod
773773 // depending on what thread they run in
774− _avatarUpdate->stop();
774+ _avatarUpdate->terminate();
775775 locationUpdateTimer->stop();
776776 balanceUpdateTimer->stop();
777777 identityPacketTimer->stop();
@@ -2453,6 +2453,7 @@ void Application::init() { · 1675 unmodified lines
24532453 connect(_myAvatar, &MyAvatar::newCollisionSoundURL, DependencyManager::get<SoundCache>().data(), &SoundCache::getSound);
24542454
24552455 _avatarUpdate = new AvatarUpdate();
2456+ _avatarUpdate->initialize(_avatarUpdate->isToBeThreaded());
24562457 }
24572458
24582459 void Application::closeMirrorView() {
@@ -2884,7 +2885,7 @@ void Application::update(float deltaTime) { · 425 unmodified lines
28842885 _overlays.update(deltaTime);
28852886 }
28862887
2887− _avatarUpdate->avatarUpdateIfSynchronous();
2888+ _avatarUpdate->synchronousProcess();
28882889
28892890 {
28902891 PerformanceTimer perfTimer("emitSimulating");

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t