From b6988f60c05aac3390ffd4634a1d6cc8c1a5dec1 Mon Sep 17 00:00:00 2001 From: McCabe Maxsted Date: Sat, 7 Mar 2009 18:32:19 -0700 Subject: Applied remember stats position and size patch from Latif Khalifa --- linden/indra/newview/lldebugview.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'linden/indra/newview/lldebugview.cpp') diff --git a/linden/indra/newview/lldebugview.cpp b/linden/indra/newview/lldebugview.cpp index 69d724e..91f5524 100644 --- a/linden/indra/newview/lldebugview.cpp +++ b/linden/indra/newview/lldebugview.cpp @@ -42,6 +42,7 @@ #include "llresmgr.h" #include "imageids.h" #include "llvelocitybar.h" +#include "llviewercontrol.h" #include "llviewerwindow.h" #include "llfloaterstats.h" @@ -100,11 +101,8 @@ LLDebugView::LLDebugView(const std::string& name, const LLRect &rect) // // Debug statistics // - r.set(rect.getWidth() - 250, - rect.getHeight() - 50, - rect.getWidth(), - rect.getHeight() - 450); - mFloaterStatsp = new LLFloaterStats(r); + LLRect statsrect = gSavedSettings.getRect("FloaterStatsRect"); + mFloaterStatsp = new LLFloaterStats(statsrect); mFloaterStatsp->setFollowsTop(); mFloaterStatsp->setFollowsRight(); -- cgit v1.1