diff options
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llvograss.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/indra/newview/llvograss.cpp b/indra/newview/llvograss.cpp index f4a5d60f7c..97543a99f6 100644 --- a/indra/newview/llvograss.cpp +++ b/indra/newview/llvograss.cpp @@ -288,7 +288,12 @@ 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 (mPatch && (mLastPatchUpdateTime != mPatch->getLastUpdateTime())) { gPipeline.markRebuild(mDrawable, LLDrawable::REBUILD_VOLUME, TRUE); |