aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llface.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:48 -0500
committerJacek Antonelli2008-08-15 23:45:48 -0500
commit32b59b5609706d574e2e3b9ff6162d35f6d7781c (patch)
tree340ae6f090700b109f2ced1c41b8fb274a215bd3 /linden/indra/newview/llface.cpp
parentSecond Life viewer sources 1.20.4 (diff)
downloadmeta-impy-32b59b5609706d574e2e3b9ff6162d35f6d7781c.zip
meta-impy-32b59b5609706d574e2e3b9ff6162d35f6d7781c.tar.gz
meta-impy-32b59b5609706d574e2e3b9ff6162d35f6d7781c.tar.bz2
meta-impy-32b59b5609706d574e2e3b9ff6162d35f6d7781c.tar.xz
Second Life viewer sources 1.20.5
Diffstat (limited to 'linden/indra/newview/llface.cpp')
-rw-r--r--linden/indra/newview/llface.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/linden/indra/newview/llface.cpp b/linden/indra/newview/llface.cpp
index f480d8d..1f1febb 100644
--- a/linden/indra/newview/llface.cpp
+++ b/linden/indra/newview/llface.cpp
@@ -411,7 +411,8 @@ void LLFace::renderForSelect(U32 data_mask)
411 411
412void LLFace::renderSelected(LLImageGL *imagep, const LLColor4& color) 412void LLFace::renderSelected(LLImageGL *imagep, const LLColor4& color)
413{ 413{
414 if(mDrawablep.isNull() || mVertexBuffer.isNull()) 414 if(mDrawablep.isNull() || mVertexBuffer.isNull() || mDrawablep->getSpatialGroup() == NULL ||
415 mDrawablep->getSpatialGroup()->isState(LLSpatialGroup::GEOM_DIRTY))
415 { 416 {
416 return; 417 return;
417 } 418 }