aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/pipeline.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/pipeline.cpp')
-rw-r--r--linden/indra/newview/pipeline.cpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/linden/indra/newview/pipeline.cpp b/linden/indra/newview/pipeline.cpp
index 5d4618e..d030ac2 100644
--- a/linden/indra/newview/pipeline.cpp
+++ b/linden/indra/newview/pipeline.cpp
@@ -768,6 +768,7 @@ void LLPipeline::updateMoveDampedAsync(LLDrawable* drawablep)
768 if (!drawablep) 768 if (!drawablep)
769 { 769 {
770 llerrs << "updateMove called with NULL drawablep" << llendl; 770 llerrs << "updateMove called with NULL drawablep" << llendl;
771 return;
771 } 772 }
772 if (drawablep->isState(LLDrawable::EARLY_MOVE)) 773 if (drawablep->isState(LLDrawable::EARLY_MOVE))
773 { 774 {
@@ -1124,7 +1125,7 @@ void LLPipeline::updateGeom(F32 max_dtime)
1124 last_bridge = bridge; 1125 last_bridge = bridge;
1125 1126
1126 BOOL update_complete = TRUE; 1127 BOOL update_complete = TRUE;
1127 if (drawablep && !drawablep->isDead()) 1128 if (!drawablep->isDead())
1128 { 1129 {
1129 update_complete = updateDrawableGeom(drawablep, FALSE); 1130 update_complete = updateDrawableGeom(drawablep, FALSE);
1130 count++; 1131 count++;
@@ -1398,7 +1399,9 @@ void LLPipeline::stateSort(LLDrawable* drawablep, LLCamera& camera)
1398 LLMemType mt(LLMemType::MTYPE_PIPELINE); 1399 LLMemType mt(LLMemType::MTYPE_PIPELINE);
1399 LLFastTimer ftm(LLFastTimer::FTM_STATESORT_DRAWABLE); 1400 LLFastTimer ftm(LLFastTimer::FTM_STATESORT_DRAWABLE);
1400 1401
1401 if (drawablep->isDead() || !hasRenderType(drawablep->getRenderType())) 1402 if (!drawablep
1403 || drawablep->isDead()
1404 || !hasRenderType(drawablep->getRenderType()))
1402 { 1405 {
1403 return; 1406 return;
1404 } 1407 }
@@ -1412,7 +1415,7 @@ void LLPipeline::stateSort(LLDrawable* drawablep, LLCamera& camera)
1412 } 1415 }
1413 } 1416 }
1414 1417
1415 if (drawablep && (hasRenderType(drawablep->mRenderType))) 1418 if (hasRenderType(drawablep->mRenderType))
1416 { 1419 {
1417 if (!drawablep->isState(LLDrawable::INVISIBLE|LLDrawable::FORCE_INVISIBLE)) 1420 if (!drawablep->isState(LLDrawable::INVISIBLE|LLDrawable::FORCE_INVISIBLE))
1418 { 1421 {
@@ -1835,6 +1838,7 @@ void LLPipeline::renderHighlights()
1835 if (!facep || facep->getDrawable()->isDead()) 1838 if (!facep || facep->getDrawable()->isDead())
1836 { 1839 {
1837 llerrs << "Bad face on selection" << llendl; 1840 llerrs << "Bad face on selection" << llendl;
1841 return;
1838 } 1842 }
1839 1843
1840 facep->renderSelected(mFaceSelectImagep, color); 1844 facep->renderSelected(mFaceSelectImagep, color);
@@ -4045,4 +4049,4 @@ void LLPipeline::renderBloom(GLuint source, GLuint dest, GLuint buffer, U32 res,
4045 glPopMatrix(); 4049 glPopMatrix();
4046 glMatrixMode(GL_MODELVIEW); 4050 glMatrixMode(GL_MODELVIEW);
4047 glPopMatrix(); 4051 glPopMatrix();
4048} \ No newline at end of file 4052}