History

explicit cleanup of loaded model animations

in Application dtor

Andrew Meadows committed 11 years ago

Commit cfbf8fd1 parent 589077b2 files · +3 −10Browse files

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

Unified · Split

interface/src/Application.cpp+3−0
@@ -65,6 +65,7 @@ · 64 unmodified lines
65#include <HFBackEvent.h>65#include <HFBackEvent.h>
66#include <LogHandler.h>66#include <LogHandler.h>
67#include <MainWindow.h>67#include <MainWindow.h>
68#include <ModelEntityItem.h>
68#include <NetworkAccessManager.h>69#include <NetworkAccessManager.h>
69#include <OctalCode.h>70#include <OctalCode.h>
70#include <OctreeSceneStats.h>71#include <OctreeSceneStats.h>
@@ -565,6 +566,8 @@ Application::~Application() { · 494 unmodified lines
565 Menu::getInstance()->deleteLater();566 Menu::getInstance()->deleteLater();
566 567
567 _myAvatar = NULL;568 _myAvatar = NULL;
569
570 ModelEntityItem::cleanupLoadedAnimations() ;
568 571
569 DependencyManager::destroy<GLCanvas>();572 DependencyManager::destroy<GLCanvas>();
570 DependencyManager::destroy<AnimationCache>();573 DependencyManager::destroy<AnimationCache>();

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