SL-20080 Show warning message when selecting a non square texture for thumbnails
parent
b267515922
commit
1cf4a2c952
|
|
@ -282,7 +282,8 @@ bool LLFloaterTexturePicker::updateImageStats()
|
|||
S32 height = mTexturep->getFullHeight();
|
||||
if (width > 0 && height > 0)
|
||||
{
|
||||
if (width < mMinDim
|
||||
if (width != height
|
||||
|| width < mMinDim
|
||||
|| width > mMaxDim
|
||||
|| height < mMinDim
|
||||
|| height > mMaxDim
|
||||
|
|
|
|||
Loading…
Reference in New Issue