aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llvovolume.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/newview/llvovolume.cpp b/linden/indra/newview/llvovolume.cpp
index 204d641..7aaf845 100644
--- a/linden/indra/newview/llvovolume.cpp
+++ b/linden/indra/newview/llvovolume.cpp
@@ -785,7 +785,7 @@ void LLVOVolume::sculpt()
785 for (S32 i = 0; i < mSculptTexture->getNumVolumes(); ++i) 785 for (S32 i = 0; i < mSculptTexture->getNumVolumes(); ++i)
786 { 786 {
787 LLVOVolume* volume = (*(mSculptTexture->getVolumeList()))[i]; 787 LLVOVolume* volume = (*(mSculptTexture->getVolumeList()))[i];
788 if (volume != this && volume->getVolume() == getVolume()) 788 if (volume && volume != this && volume->getVolume() == getVolume())
789 { 789 {
790 gPipeline.markRebuild(volume->mDrawable, LLDrawable::REBUILD_GEOMETRY, FALSE); 790 gPipeline.markRebuild(volume->mDrawable, LLDrawable::REBUILD_GEOMETRY, FALSE);
791 } 791 }