summaryrefslogtreecommitdiff
path: root/indra/newview/lldebugview.cpp
diff options
context:
space:
mode:
authorAndrey Lihatskiy <alihatskiy@productengine.com>2024-08-19 09:41:02 +0300
committerGitHub <noreply@github.com>2024-08-19 09:41:02 +0300
commitc04fae068bae2bfc4b126ee9742c7cf364959268 (patch)
tree9bb8cf7c4c80ae036613551b4ed82a9508892664 /indra/newview/lldebugview.cpp
parent4c61461883e6f90b1cdccf6b626ae3f289c257b1 (diff)
parentec7db659faf0420f5d3cd1f0be108c5aaeb53dd9 (diff)
Merge pull request #2334 from RyeMutt/ui-stutter-fixes
Fix various findChild calls causing frame drops and ui stutter
Diffstat (limited to 'indra/newview/lldebugview.cpp')
-rw-r--r--indra/newview/lldebugview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/lldebugview.cpp b/indra/newview/lldebugview.cpp
index 0596a8fe7d..53da9826ed 100644
--- a/indra/newview/lldebugview.cpp
+++ b/indra/newview/lldebugview.cpp
@@ -119,7 +119,7 @@ void LLDebugView::draw()
{
if (mFloaterSnapRegion == NULL)
{
- mFloaterSnapRegion = getRootView()->getChildView("floater_snap_region");
+ mFloaterSnapRegion = gViewerWindow->getFloaterSnapRegion();
}
LLRect debug_rect;