History

Merge branch 'team-teaching' of https://github.com/highfidelity/hifi into lod

Atlante45 committed 11 years ago

Commit 96be60c2 parents 7654533 f70ff2216 files · +89 −52Browse files

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

Unified · Split

interface/src/Application.cpp+4−1
@@ -3191,7 +3191,7 @@ namespace render { · 3190 unmodified lines
31913191 template <> void payloadRender(const WorldBoxRenderData::Pointer& stuff, RenderArgs* args) {
31923192 if (args->_renderMode != CAMERA_MODE_MIRROR && Menu::getInstance()->isOptionChecked(MenuOption::Stats)) {
31933193 PerformanceTimer perfTimer("worldBox");
3194− renderWorldBox();
3194+ renderWorldBox(args);
31953195
31963196 // FIXME: there's currently a bug in the new render engine, if this origin dot is rendered out of view it will
31973197 // screw up the state of textures on models so they all end up rendering in the incorrect tint/color/texture
@@ -3506,6 +3506,9 @@ void Application::displaySide(RenderArgs* renderArgs, Camera& theCamera, bool se · 308 unmodified lines
35063506 renderContext._sortTransparent = sceneInterface->doEngineSortTransparent();
35073507 renderContext._renderTransparent = sceneInterface->doEngineRenderTransparent();
35083508
3509+ renderContext._maxDrawnOpaqueItems = sceneInterface->getEngineMaxDrawnOpaqueItems();
3510+ renderContext._maxDrawnTransparentItems = sceneInterface->getEngineMaxDrawnTransparentItems();
3511+
35093512 renderArgs->_shouldRender = LODManager::shouldRender;
35103513
35113514 renderContext.args = renderArgs;