diff options
Diffstat (limited to 'indra/newview/lldebugview.cpp')
| -rw-r--r-- | indra/newview/lldebugview.cpp | 8 | 
1 files changed, 2 insertions, 6 deletions
| diff --git a/indra/newview/lldebugview.cpp b/indra/newview/lldebugview.cpp index b88d11886a..53da9826ed 100644 --- a/indra/newview/lldebugview.cpp +++ b/indra/newview/lldebugview.cpp @@ -105,10 +105,7 @@ void LLDebugView::init()      addChild(gSceneMonitorView);      gSceneMonitorView->setRect(rect); -    r.setLeftTopAndSize(25, rect.getHeight() - 50, (S32) (gViewerWindow->getWindowRectScaled().getWidth() * 0.75f), -                                     (S32) (gViewerWindow->getWindowRectScaled().getHeight() * 0.75f)); - -    r.set(150, rect.getHeight() - 50, 820, 100); +    r.set(150, rect.getHeight() - 60, 820, 110);      LLTextureView::Params tvp;      tvp.name("gTextureView");      tvp.rect(r); @@ -116,14 +113,13 @@ void LLDebugView::init()      tvp.visible(false);      gTextureView = LLUICtrlFactory::create<LLTextureView>(tvp);      addChild(gTextureView); -    //gTextureView->reshape(r.getWidth(), r.getHeight(), true);  }  void LLDebugView::draw()  {      if (mFloaterSnapRegion == NULL)      { -        mFloaterSnapRegion = getRootView()->getChildView("floater_snap_region"); +        mFloaterSnapRegion = gViewerWindow->getFloaterSnapRegion();      }      LLRect debug_rect; | 
