diff options
| author | Yuri Chebotarev <ychebotarev@productengine.com> | 2010-01-04 14:58:48 +0200 |
|---|---|---|
| committer | Yuri Chebotarev <ychebotarev@productengine.com> | 2010-01-04 14:58:48 +0200 |
| commit | dcf144eae0b52c24168bde4d1cfedeb275a9777a (patch) | |
| tree | f83fecbb7c6a8815919325b7aff74634b462ed5a /indra/newview/llpreviewtexture.cpp | |
| parent | 8288b33c83abde3adaec2638c9e8d1a164d4138e (diff) | |
| parent | 516e2674f54d400c30bf548ea1e9b0a268bd929f (diff) | |
merge
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/llpreviewtexture.cpp')
| -rw-r--r-- | indra/newview/llpreviewtexture.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/indra/newview/llpreviewtexture.cpp b/indra/newview/llpreviewtexture.cpp index 26368fb0a8..a857e30d4f 100644 --- a/indra/newview/llpreviewtexture.cpp +++ b/indra/newview/llpreviewtexture.cpp @@ -419,12 +419,10 @@ void LLPreviewTexture::updateDimensions() view_height += info_height; S32 button_height = 0; - if (mShowKeepDiscard || mCopyToInv) { //mCopyToInvBtn - - // add space for buttons - view_height += (BTN_HEIGHT + CLIENT_RECT_VPAD) * 3; - button_height = (BTN_HEIGHT + PREVIEW_PAD) * 3; - } + + // add space for buttons + view_height += (BTN_HEIGHT + CLIENT_RECT_VPAD) * 3; + button_height = (BTN_HEIGHT + PREVIEW_PAD) * 3; view_width = llmax(view_width, getMinWidth()); view_height = llmax(view_height, getMinHeight()); |
