summaryrefslogtreecommitdiff
path: root/indra/newview/llmaterialeditor.cpp
diff options
context:
space:
mode:
authorRunitaiLinden <davep@lindenlab.com>2024-01-18 10:33:02 -0600
committerGitHub <noreply@github.com>2024-01-18 10:33:02 -0600
commit19163fd0fea6c92712b37e29f34b72edbbfe152d (patch)
tree85bf85974245b66970485f6400d82dbef639539b /indra/newview/llmaterialeditor.cpp
parent0ed6112967f2240de689b08373bf61905321e199 (diff)
Allow for upload of 2k textures (#652)
* SL-20760 Allow 2k texture uploads * SL-20760 Fix for textures not downloading.
Diffstat (limited to 'indra/newview/llmaterialeditor.cpp')
-rw-r--r--indra/newview/llmaterialeditor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llmaterialeditor.cpp b/indra/newview/llmaterialeditor.cpp
index 34f2f77d25..45bb350e1f 100644
--- a/indra/newview/llmaterialeditor.cpp
+++ b/indra/newview/llmaterialeditor.cpp
@@ -1872,7 +1872,7 @@ static void pack_textures(
if (normal_img)
{
// create a losslessly compressed version of the normal map
- normal_j2c = LLViewerTextureList::convertToUploadFile(normal_img, 1024, false, true);
+ normal_j2c = LLViewerTextureList::convertToUploadFile(normal_img, 2048, false, true);
LL_DEBUGS("MaterialEditor") << "Normal: " << normal_j2c->getDataSize() << LL_ENDL;
}