diff options
author | Howard Stearns <howard.stearns@gmail.com> | 2022-05-11 15:33:42 -0700 |
---|---|---|
committer | Howard Stearns <howard.stearns@gmail.com> | 2022-05-11 15:33:42 -0700 |
commit | 3cefd6bd171b52b135c5acc508892e1bd0b2ce12 (patch) | |
tree | cff75a304b5f6e7a66c97971432eccd6465e1604 | |
parent | bc7e2fb7e7f7527b522bdf6f4c791f3b660485e2 (diff) |
SL-12238 - bump terrain texture size limit to 1024
-rw-r--r-- | indra/newview/llfloaterregioninfo.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llfloaterregioninfo.cpp b/indra/newview/llfloaterregioninfo.cpp index 19080f05c0..6f33334e7e 100644 --- a/indra/newview/llfloaterregioninfo.cpp +++ b/indra/newview/llfloaterregioninfo.cpp @@ -1322,6 +1322,7 @@ void LLPanelRegionDebugInfo::onClickDebugConsole(void* data) BOOL LLPanelRegionTerrainInfo::validateTextureSizes() { + static const S32 MAX_TERRAIN_TEXTURE_SIZE = 1024; for(S32 i = 0; i < TERRAIN_TEXTURE_COUNT; ++i) { std::string buffer; @@ -1347,7 +1348,7 @@ BOOL LLPanelRegionTerrainInfo::validateTextureSizes() return FALSE; } - if (width > 512 || height > 512) + if (width > MAX_TERRAIN_TEXTURE_SIZE || height > MAX_TERRAIN_TEXTURE_SIZE) { LLSD args; |