diff options
author | Dave Parks <davep@lindenlab.com> | 2011-06-08 15:59:11 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2011-06-08 15:59:11 -0500 |
commit | ca5a87b819d8f33fd32a58e0c6c9cf2ca216ae7d (patch) | |
tree | 8ef49d890c07a2b5f95b76b39d72ddc111d6eea3 /indra/newview/llmanipscale.cpp | |
parent | d3aa36f1d478d51790e0fdf604e590baa04a93a4 (diff) | |
parent | d9dfa9b8707b3bf68d7c5cd03a6ca738be7f891f (diff) |
merge
Diffstat (limited to 'indra/newview/llmanipscale.cpp')
-rw-r--r-- | indra/newview/llmanipscale.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/indra/newview/llmanipscale.cpp b/indra/newview/llmanipscale.cpp index 673f28e01f..0eedabb5de 100644 --- a/indra/newview/llmanipscale.cpp +++ b/indra/newview/llmanipscale.cpp @@ -58,6 +58,7 @@ #include "llworld.h" #include "v2math.h" #include "llvoavatar.h" +#include "llmeshrepository.h" const F32 MAX_MANIP_SELECT_DISTANCE_SQUARED = 11.f * 11.f; @@ -90,9 +91,7 @@ F32 get_default_max_prim_scale(bool is_flora) { // a bit of a hack, but if it's foilage, we don't want to use the // new larger scale which would result in giant trees and grass - if (gSavedSettings.getBOOL("MeshEnabled") && - gAgent.getRegion() && - !gAgent.getRegion()->getCapability("GetMesh").empty() && + if (gMeshRepo.meshRezEnabled() && !gAgent.getRegion()->getCapability("ObjectAdd").empty() && !is_flora) { |