diff options
-rw-r--r-- | indra/newview/llvograss.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/indra/newview/llvograss.cpp b/indra/newview/llvograss.cpp index 97543a99f6..345e87eea8 100644 --- a/indra/newview/llvograss.cpp +++ b/indra/newview/llvograss.cpp @@ -288,11 +288,11 @@ void LLVOGrass::idleUpdate(LLAgent &agent, const F64 &time) // So drones work. return; } - if (!LLVOTree::isTreeRenderingStopped() && !mNumBlades)//restart grass rendering
- {
- mNumBlades = GRASS_MAX_BLADES;
- gPipeline.markRebuild(mDrawable, LLDrawable::REBUILD_ALL, TRUE);
- return;
+ if (!LLVOTree::isTreeRenderingStopped() && !mNumBlades)//restart grass rendering + { + mNumBlades = GRASS_MAX_BLADES; + gPipeline.markRebuild(mDrawable, LLDrawable::REBUILD_ALL, TRUE); + return; } if (mPatch && (mLastPatchUpdateTime != mPatch->getLastUpdateTime())) { |