History

use icons to show network and physics status

Seth Alves committed 11 years ago

Commit 66387c41 parent 774e2ab7 files · +45 −21Browse files

Showing the changes to libraries/render-utils/src/RenderDeferredTask.cpp (1 of 7 files). Show all

Unified · Split

libraries/render-utils/src/RenderDeferredTask.cpp+4−5
@@ -112,12 +112,11 @@ RenderDeferredTask::RenderDeferredTask() : Task() { · 111 unmodified lines
112112 _jobs.push_back(Job(new DepthSortItems::JobModel("DepthSortTransparent", _jobs.back().getOutput(), DepthSortItems(false))));
113113 _jobs.push_back(Job(new DrawTransparentDeferred::JobModel("TransparentDeferred", _jobs.back().getOutput())));
114114
115− // Grab a texture map representing the different status icons and assign that to the drawStatsuJob
116− auto iconMapPath = PathUtils::resourcesPath() + "images/hifi-logo.svg";
117−
118− auto statusIconMap = DependencyManager::get<TextureCache>()->getImageTexture(iconMapPath);
119− _jobs.push_back(Job(new render::DrawStatus::JobModel("DrawStatus", renderedOpaques, DrawStatus(statusIconMap))));
115+ // Grab a texture map representing the different status icons and assign that to the drawStatsuJob
116+ auto iconMapPath = PathUtils::resourcesPath() + "icons/statusIconAtlas.svg";
120117
118+ auto statusIconMap = DependencyManager::get<TextureCache>()->getImageTexture(iconMapPath);
119+ _jobs.push_back(Job(new render::DrawStatus::JobModel("DrawStatus", renderedOpaques, DrawStatus(statusIconMap))));
121120
122121 _jobs.back().setEnabled(false);
123122 _drawStatusJobIndex = _jobs.size() - 1;