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()
59765976bool LLMeshRepository::meshRezEnabled ()
59775977{
59785978 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;
59865980}
59875981
59885982// Threading: main thread only
Original file line number Diff line number Diff line change @@ -3720,12 +3720,6 @@ bool LLViewerRegion::bakesOnMeshEnabled() const
37203720 mSimulatorFeatures [" BakesOnMeshEnabled" ].asBoolean ());
37213721}
37223722
3723- bool LLViewerRegion::meshRezEnabled () const
3724- {
3725- return (mSimulatorFeatures .has (" MeshRezEnabled" ) &&
3726- mSimulatorFeatures [" MeshRezEnabled" ].asBoolean ());
3727- }
3728-
37293723bool LLViewerRegion::dynamicPathfindingEnabled () const
37303724{
37313725 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
333333
334334 void getInfo (LLSD& info);
335335
336- bool meshRezEnabled () const ;
337336 bool meshUploadEnabled () const ;
338337
339338 bool bakesOnMeshEnabled () const ;
You can’t perform that action at this time.
0 commit comments