summaryrefslogtreecommitdiff
path: root/indra/newview/llvieweroctree.h
diff options
context:
space:
mode:
authorRichard Linden <none@none>2013-04-12 14:27:25 -0700
committerRichard Linden <none@none>2013-04-12 14:27:25 -0700
commit1ddad3737977b9e750c4d1815ea99b51e75f18aa (patch)
tree140d51925a3cd2fbca3677ff293fc2d37b051759 /indra/newview/llvieweroctree.h
parent54d7fc95893d1bf8cc3b6ebe94f3bf37f40125d0 (diff)
parent8db22a591645a3a7c3308827ca819bc2415692d8 (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