File tree Expand file tree Collapse file tree 3 files changed +1
-14
lines changed Expand file tree Collapse file tree 3 files changed +1
-14
lines changed Original file line number Diff line number Diff line change @@ -5976,13 +5976,7 @@ bool LLMeshRepository::meshUploadEnabled()
5976
5976
bool LLMeshRepository::meshRezEnabled ()
5977
5977
{
5978
5978
static LLCachedControl<bool > mesh_enabled (gSavedSettings , " MeshEnabled" );
5979
- LLViewerRegion *region = gAgent .getRegion ();
5980
- if (mesh_enabled &&
5981
- region)
5982
- {
5983
- return region->meshRezEnabled ();
5984
- }
5985
- return false ;
5979
+ return mesh_enabled;
5986
5980
}
5987
5981
5988
5982
// Threading: main thread only
Original file line number Diff line number Diff line change @@ -3720,12 +3720,6 @@ bool LLViewerRegion::bakesOnMeshEnabled() const
3720
3720
mSimulatorFeatures [" BakesOnMeshEnabled" ].asBoolean ());
3721
3721
}
3722
3722
3723
- bool LLViewerRegion::meshRezEnabled () const
3724
- {
3725
- return (mSimulatorFeatures .has (" MeshRezEnabled" ) &&
3726
- mSimulatorFeatures [" MeshRezEnabled" ].asBoolean ());
3727
- }
3728
-
3729
3723
bool LLViewerRegion::dynamicPathfindingEnabled () const
3730
3724
{
3731
3725
return ( mSimulatorFeatures .has (" DynamicPathfindingEnabled" ) &&
Original file line number Diff line number Diff line change @@ -333,7 +333,6 @@ class LLViewerRegion: public LLCapabilityProvider // implements this interface
333
333
334
334
void getInfo (LLSD& info);
335
335
336
- bool meshRezEnabled () const ;
337
336
bool meshUploadEnabled () const ;
338
337
339
338
bool bakesOnMeshEnabled () const ;
You can’t perform that action at this time.
0 commit comments