diff options
author | Mnikolenko Productengine <mnikolenko@productengine.com> | 2019-10-23 13:11:12 +0300 |
---|---|---|
committer | Mnikolenko Productengine <mnikolenko@productengine.com> | 2019-10-23 13:11:12 +0300 |
commit | 6340d2eb3aedb42153fc63a430382f40abed87c1 (patch) | |
tree | 075c6f9c54ef8b0227d553dd453b75b72e917bf1 /indra/newview | |
parent | ea54b59ddd21796002af1c7b5289148373d36005 (diff) |
SL-11937 FIXED [EEP] Grass doesn't appear after changing the 'Render Settings' from low to any other value
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); |