viewer#1081 LLFloaterImagePreview 2048 image upload support
parent
7df1bc9e65
commit
713d443ae8
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue