summaryrefslogtreecommitdiff
path: root/indra/newview/llvovolume.cpp
diff options
context:
space:
mode:
authorRoxie Linden <roxie@lindenlab.com>2010-12-30 22:08:25 -0800
committerRoxie Linden <roxie@lindenlab.com>2010-12-30 22:08:25 -0800
commitca9df698db9c7a118d29adfe52f49054c333d982 (patch)
treee9ed36c2c0abc148cf8083786047644f73811d43 /indra/newview/llvovolume.cpp
parent842dcb7e423df42cdf6454b86ad86d29655304dc (diff)
Code review fix from davep - use booling or operator and not binary one
Remove unnecessary state check. Initial dialog work for showing physics cost in upload dialog
Diffstat (limited to 'indra/newview/llvovolume.cpp')
-rw-r--r--indra/newview/llvovolume.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/indra/newview/llvovolume.cpp b/indra/newview/llvovolume.cpp
index 3219f662df..471df30bfe 100644
--- a/indra/newview/llvovolume.cpp
+++ b/indra/newview/llvovolume.cpp
@@ -4384,12 +4384,7 @@ void LLVolumeGeometryManager::rebuildMesh(LLSpatialGroup* group)
LLFastTimer t(FTM_VOLUME_GEOM_PARTIAL);
LLDrawable* drawablep = *drawable_iter;
- if (drawablep->isDead() || drawablep->isState(LLDrawable::FORCE_INVISIBLE) )
- {
- continue;
- }
-
- if (drawablep->isState(LLDrawable::REBUILD_ALL))
+ if (!drawablep->isDead() && drawablep->isState(LLDrawable::REBUILD_ALL) )
{
LLVOVolume* vobj = drawablep->getVOVolume();
vobj->preRebuild();