viewer#1081 LLFloaterImagePreview 2048 image upload support

master
Andrey Kleshchev 2024-04-12 20:33:38 +03:00 committed by Andrey Kleshchev
parent 7df1bc9e65
commit 713d443ae8
1 changed files with 1 additions and 1 deletions

View File

@ -388,7 +388,7 @@ bool LLFloaterImagePreview::loadImage(const std::string& src_filename)
return false;
}
raw_image->biasedScaleToPowerOfTwo(1024);
raw_image->biasedScaleToPowerOfTwo(LLViewerFetchedTexture::MAX_IMAGE_SIZE_DEFAULT);
mRawImagep = raw_image;
return true;