diff options
author | McCabe Maxsted | 2009-03-07 18:32:19 -0700 |
---|---|---|
committer | McCabe Maxsted | 2009-03-07 18:32:19 -0700 |
commit | b6988f60c05aac3390ffd4634a1d6cc8c1a5dec1 (patch) | |
tree | f8c2fa243c30d150c0ffbb9b125ec027bdee4517 /linden/indra/newview/lldebugview.cpp | |
parent | Applied memleak patch from VWR-9400 (diff) | |
download | meta-impy-b6988f60c05aac3390ffd4634a1d6cc8c1a5dec1.zip meta-impy-b6988f60c05aac3390ffd4634a1d6cc8c1a5dec1.tar.gz meta-impy-b6988f60c05aac3390ffd4634a1d6cc8c1a5dec1.tar.bz2 meta-impy-b6988f60c05aac3390ffd4634a1d6cc8c1a5dec1.tar.xz |
Applied remember stats position and size patch from Latif Khalifa
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/lldebugview.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
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 @@ | |||
42 | #include "llresmgr.h" | 42 | #include "llresmgr.h" |
43 | #include "imageids.h" | 43 | #include "imageids.h" |
44 | #include "llvelocitybar.h" | 44 | #include "llvelocitybar.h" |
45 | #include "llviewercontrol.h" | ||
45 | #include "llviewerwindow.h" | 46 | #include "llviewerwindow.h" |
46 | #include "llfloaterstats.h" | 47 | #include "llfloaterstats.h" |
47 | 48 | ||
@@ -100,11 +101,8 @@ LLDebugView::LLDebugView(const std::string& name, const LLRect &rect) | |||
100 | // | 101 | // |
101 | // Debug statistics | 102 | // Debug statistics |
102 | // | 103 | // |
103 | r.set(rect.getWidth() - 250, | 104 | LLRect statsrect = gSavedSettings.getRect("FloaterStatsRect"); |
104 | rect.getHeight() - 50, | 105 | mFloaterStatsp = new LLFloaterStats(statsrect); |
105 | rect.getWidth(), | ||
106 | rect.getHeight() - 450); | ||
107 | mFloaterStatsp = new LLFloaterStats(r); | ||
108 | 106 | ||
109 | mFloaterStatsp->setFollowsTop(); | 107 | mFloaterStatsp->setFollowsTop(); |
110 | mFloaterStatsp->setFollowsRight(); | 108 | mFloaterStatsp->setFollowsRight(); |