diff options
| author | Richard Nelson <none@none> | 2010-05-26 19:36:15 -0700 |
|---|---|---|
| committer | Richard Nelson <none@none> | 2010-05-26 19:36:15 -0700 |
| commit | f33fdbf0ef25c485bdd09faaf1177d2b2b1a7694 (patch) | |
| tree | 6ed52effeb29b1baff71cded878009744f618920 /indra/newview/llworldview.cpp | |
| parent | d06281736e81707747636a8687e1a33ffda92b47 (diff) | |
moved SidebarCameraMovement logic out of special widget to camera setup code
Diffstat (limited to 'indra/newview/llworldview.cpp')
| -rw-r--r-- | indra/newview/llworldview.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/indra/newview/llworldview.cpp b/indra/newview/llworldview.cpp index 665cc74a87..7261e63147 100644 --- a/indra/newview/llworldview.cpp +++ b/indra/newview/llworldview.cpp @@ -48,14 +48,14 @@ LLWorldView::LLWorldView(const Params& p) void LLWorldView::reshape(S32 width, S32 height, BOOL called_from_parent) { - if (FALSE == gSavedSettings.getBOOL("SidebarCameraMovement") ) - { - LLView* main_view = LLUI::getRootView()->findChild<LLView>("main_view"); - if(main_view) - { - width = main_view->getRect().getWidth(); - } - } + //if (FALSE == gSavedSettings.getBOOL("SidebarCameraMovement") ) + //{ + // LLView* main_view = LLUI::getRootView()->findChild<LLView>("main_view"); + // if(main_view) + // { + // width = main_view->getRect().getWidth(); + // } + //} LLUICtrl::reshape(width, height, called_from_parent); } |
