summaryrefslogtreecommitdiff
path: root/indra/newview/pipeline.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2013-05-09 15:40:02 -0500
committerDave Parks <davep@lindenlab.com>2013-05-09 15:40:02 -0500
commitb9bb95f8ae085f0d9aa1ba0dc6866d44762ad67b (patch)
treee23b159ce5e71fa5a050d5ac40ed812b47b8ca2a /indra/newview/pipeline.cpp
parentd8f00dd1d1d40ec387583575149b1bf9bae79f32 (diff)
MAINT-2647 Fix for some objects not rendering until first LoD switch/selection.
Diffstat (limited to 'indra/newview/pipeline.cpp')
-rwxr-xr-xindra/newview/pipeline.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp
index f320f34f6e..7eed9acb4b 100755
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -3306,11 +3306,6 @@ void LLPipeline::stateSort(LLDrawable* drawablep, LLCamera& camera)
{
drawablep->setVisible(camera, NULL, FALSE);
}
- else if (drawablep->isState(LLDrawable::CLEAR_INVISIBLE))
- {
- // clear invisible flag here to avoid single frame glitch
- drawablep->clearState(LLDrawable::FORCE_INVISIBLE|LLDrawable::CLEAR_INVISIBLE);
- }
}
if (LLViewerCamera::sCurCameraID == LLViewerCamera::CAMERA_WORLD)