summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerobject.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2010-09-29 16:09:21 -0500
committerDave Parks <davep@lindenlab.com>2010-09-29 16:09:21 -0500
commit0c93da0501ab1debd6fa11af29a215be81f7b803 (patch)
tree6000b7d56747ddc210c52f7fea55a99a8aee6414 /indra/newview/llviewerobject.cpp
parent91a8d7a2191e670e160e64859792db390b5d1757 (diff)
SH-224 Add new streaming cost algorithm debug displays to viewer.
Add the ability to clear LOD slots. Make triangle count UI more responsive to Generate LOD button. Add triangle count debug display for current selection. Reviewed by Nyx
Diffstat (limited to 'indra/newview/llviewerobject.cpp')
-rw-r--r--indra/newview/llviewerobject.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/indra/newview/llviewerobject.cpp b/indra/newview/llviewerobject.cpp
index b21597349f..9b3f81e193 100644
--- a/indra/newview/llviewerobject.cpp
+++ b/indra/newview/llviewerobject.cpp
@@ -2942,6 +2942,16 @@ F32 LLViewerObject::getObjectCost()
return mObjectCost;
}
+F32 LLViewerObject::getStreamingCost()
+{
+ return 0.f;
+}
+
+U32 LLViewerObject::getTriangleCount()
+{
+ return 0;
+}
+
F32 LLViewerObject::getLinksetCost()
{
if (mCostStale)