Commit a3ef4170 authored by Drake Arconis's avatar Drake Arconis
Browse files

fixed: Warning in viewer log about invalid toolbar number

parent 7b1b2330
......@@ -3046,6 +3046,9 @@ void LLFloaterView::setToolbarRect(LLToolBarEnums::EToolBarLocation tb, const LL
case LLToolBarEnums::TOOLBAR_RIGHT:
mToolbarRightRect = toolbar_rect;
break;
case LLToolBarEnums::TOOLBAR_TOP:
mToolbarTopRect = toolbar_rect;
break;
default:
llwarns << "setToolbarRect() passed odd toolbar number " << (S32) tb << llendl;
break;
......
......@@ -586,6 +586,7 @@ private:
LLRect mToolbarLeftRect;
LLRect mToolbarBottomRect;
LLRect mToolbarRightRect;
LLRect mToolbarTopRect;
LLHandle<LLView> mSnapView;
BOOL mFocusCycleMode;
S32 mSnapOffsetBottom;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment