History

convert AnimationCache to DependencyManager

ZappoMan committed 11 years ago

Commit 660bf271 parent 02737a48 files · +15 −21Browse files

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

Unified · Split

interface/src/Application.cpp+1−1
@@ -4003,7 +4003,7 @@ void Application::registerScriptEngineWithApplicationServices(ScriptEngine* scri · 4002 unmodified lines
40034003 scriptEngine->registerGlobalObject("Menu", MenuScriptingInterface::getInstance());
40044004 scriptEngine->registerGlobalObject("Settings", SettingsScriptingInterface::getInstance());
40054005 scriptEngine->registerGlobalObject("AudioDevice", AudioDeviceScriptingInterface::getInstance());
4006− scriptEngine->registerGlobalObject("AnimationCache", &_animationCache);
4006+ scriptEngine->registerGlobalObject("AnimationCache", DependencyManager::get<AnimationCache>());
40074007 scriptEngine->registerGlobalObject("SoundCache", &SoundCache::getInstance());
40084008 scriptEngine->registerGlobalObject("Account", AccountScriptingInterface::getInstance());
40094009 scriptEngine->registerGlobalObject("Metavoxels", &_metavoxels);

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