diff options
Diffstat (limited to 'indra')
| -rw-r--r-- | indra/newview/llmeshrepository.cpp | 8 | ||||
| -rwxr-xr-x | indra/newview/llviewerregion.cpp | 6 | ||||
| -rw-r--r-- | indra/newview/llviewerregion.h | 1 | 
3 files changed, 1 insertions, 14 deletions
| diff --git a/indra/newview/llmeshrepository.cpp b/indra/newview/llmeshrepository.cpp index 851107b3be..e7e95034b2 100644 --- a/indra/newview/llmeshrepository.cpp +++ b/indra/newview/llmeshrepository.cpp @@ -5976,13 +5976,7 @@ bool LLMeshRepository::meshUploadEnabled()  bool LLMeshRepository::meshRezEnabled()  {      static LLCachedControl<bool> mesh_enabled(gSavedSettings, "MeshEnabled"); -    LLViewerRegion *region = gAgent.getRegion(); -    if(mesh_enabled && -       region) -    { -        return region->meshRezEnabled(); -    } -    return false; +    return mesh_enabled;  }  // Threading:  main thread only diff --git a/indra/newview/llviewerregion.cpp b/indra/newview/llviewerregion.cpp index 697433148b..b9f52e11aa 100755 --- a/indra/newview/llviewerregion.cpp +++ b/indra/newview/llviewerregion.cpp @@ -3720,12 +3720,6 @@ bool LLViewerRegion::bakesOnMeshEnabled() const          mSimulatorFeatures["BakesOnMeshEnabled"].asBoolean());  } -bool LLViewerRegion::meshRezEnabled() const -{ -    return (mSimulatorFeatures.has("MeshRezEnabled") && -                mSimulatorFeatures["MeshRezEnabled"].asBoolean()); -} -  bool LLViewerRegion::dynamicPathfindingEnabled() const  {      return ( mSimulatorFeatures.has("DynamicPathfindingEnabled") && diff --git a/indra/newview/llviewerregion.h b/indra/newview/llviewerregion.h index d0ec1fe877..244e2b7835 100644 --- a/indra/newview/llviewerregion.h +++ b/indra/newview/llviewerregion.h @@ -333,7 +333,6 @@ public:      void getInfo(LLSD& info); -    bool meshRezEnabled() const;      bool meshUploadEnabled() const;      bool bakesOnMeshEnabled() const; | 
