summaryrefslogtreecommitdiff
path: root/indra/newview/llvieweroctree.h
diff options
context:
space:
mode:
authorRichard Linden <none@none>2013-04-12 11:53:54 -0700
committerRichard Linden <none@none>2013-04-12 11:53:54 -0700
commit8db22a591645a3a7c3308827ca819bc2415692d8 (patch)
tree72a48ab9da03f06c1725318c6a46986cd52d0ad5 /indra/newview/llvieweroctree.h
parentf964c8faa84cfa95bbf73552e99a2d0b80f7bee2 (diff)
parent493b84f2fc34ab1bb798b20c022be6edf036b3d7 (diff)
Automated merge with ssh://hg.lindenlab.com/richard/viewer-interesting-metrics
Diffstat (limited to 'indra/newview/llvieweroctree.h')
-rw-r--r--indra/newview/llvieweroctree.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/indra/newview/llvieweroctree.h b/indra/newview/llvieweroctree.h
index a35c551949..b6faf4c7ba 100644
--- a/indra/newview/llvieweroctree.h
+++ b/indra/newview/llvieweroctree.h
@@ -324,4 +324,15 @@ protected:
S32 mRes;
};
+//scan the octree, output the info of each node for debug use.
+class LLViewerOctreeDebug : public OctreeTraveler
+{
+public:
+ virtual void processGroup(LLviewerOctreeGroup* group);
+ virtual void visit(const OctreeNode* branch);
+
+public:
+ static BOOL sInDebug;
+};
+
#endif