diff options
author | Jacek Antonelli | 2008-08-15 23:45:48 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:48 -0500 |
commit | 32b59b5609706d574e2e3b9ff6162d35f6d7781c (patch) | |
tree | 340ae6f090700b109f2ced1c41b8fb274a215bd3 /linden/indra/newview/llface.cpp | |
parent | Second Life viewer sources 1.20.4 (diff) | |
download | meta-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.cpp | 3 |
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 | ||
412 | void LLFace::renderSelected(LLImageGL *imagep, const LLColor4& color) | 412 | void 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 | } |