diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llspatialpartition.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/newview/llspatialpartition.cpp b/linden/indra/newview/llspatialpartition.cpp index dbda813..283b38b 100644 --- a/linden/indra/newview/llspatialpartition.cpp +++ b/linden/indra/newview/llspatialpartition.cpp | |||
@@ -1524,7 +1524,7 @@ public: | |||
1524 | for (LLSpatialGroup::element_iter i = group->getData().begin(); i != group->getData().end(); ++i) | 1524 | for (LLSpatialGroup::element_iter i = group->getData().begin(); i != group->getData().end(); ++i) |
1525 | { | 1525 | { |
1526 | LLDrawable* drawable = *i; | 1526 | LLDrawable* drawable = *i; |
1527 | if (drawable->getVObj() && !group->mSpatialPartition->mRenderByGroup) | 1527 | if (drawable->getVObj().notNull() && !group->mSpatialPartition->mRenderByGroup) |
1528 | { | 1528 | { |
1529 | gPipeline.markRebuild(drawable, LLDrawable::REBUILD_ALL, TRUE); | 1529 | gPipeline.markRebuild(drawable, LLDrawable::REBUILD_ALL, TRUE); |
1530 | } | 1530 | } |