summaryrefslogtreecommitdiff
path: root/indra/newview/llvotree.cpp
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2010-07-14 13:27:58 -0600
committerXiaohong Bao <bao@lindenlab.com>2010-07-14 13:27:58 -0600
commit512c9615e513a6e4eda6dff7162b8e30619aac3e (patch)
treeafa3cead1d700930efc93d4fc9e18458f59fc981 /indra/newview/llvotree.cpp
parent75c70884dab91490613ee0c9b866346a00bc9ad9 (diff)
EXT-8386: FIXED: link grass rendering to the Trees Mesh detail slider
Diffstat (limited to 'indra/newview/llvotree.cpp')
-rw-r--r--indra/newview/llvotree.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llvotree.cpp b/indra/newview/llvotree.cpp
index 5431aec07c..10537a6eb5 100644
--- a/indra/newview/llvotree.cpp
+++ b/indra/newview/llvotree.cpp
@@ -101,6 +101,12 @@ LLVOTree::~LLVOTree()
}
}
+//static
+bool LLVOTree::isTreeRenderingStopped()
+{
+ return LLVOTree::sTreeFactor < LLVOTree::sLODAngles[sMAX_NUM_TREE_LOD_LEVELS - 1] ;
+}
+
// static
void LLVOTree::initClass()
{