SL-20411 Fix texture preview images not always loading
Likely happened because some textures had 0 height width initially, but this is for UI/preview so request maximum either way.master
parent
f3b8565d21
commit
53e958a263
|
|
@ -241,9 +241,8 @@ void LLThumbnailCtrl::initImage()
|
|||
|
||||
mTexturep->forceToSaveRawImage(0);
|
||||
|
||||
S32 desired_draw_width = mTexturep->getWidth();
|
||||
S32 desired_draw_height = mTexturep->getHeight();
|
||||
|
||||
S32 desired_draw_width = MAX_IMAGE_SIZE;
|
||||
S32 desired_draw_height = MAX_IMAGE_SIZE;
|
||||
mTexturep->setKnownDrawSize(desired_draw_width, desired_draw_height);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue