aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/lldebugview.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/lldebugview.cpp8
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();