Little value for the distance of animated kart. You won't notice the difference (expect that the christmas hat isn't displayed with the non animated version

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14742 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
samuncle
2013-12-21 14:36:40 +00:00
parent 49be95b966
commit 52ebb9a300

View File

@@ -342,7 +342,7 @@ scene::ISceneNode* KartModel::attachModel(bool animated_models)
// as animated mesh are not cheap to render use frustum box culling
node->setAutomaticCulling(scene::EAC_FRUSTUM_BOX);
lod_node->add(50, node, true);
lod_node->add(20, node, true);
scene::ISceneNode* static_model = attachModel(false);
lod_node->add(500, static_model, true);
m_animated_node = static_cast<scene::IAnimatedMeshSceneNode*>(node);