diff --git a/src/graphics/lod_node.cpp b/src/graphics/lod_node.cpp index 087aea136..bb8868b1f 100644 --- a/src/graphics/lod_node.cpp +++ b/src/graphics/lod_node.cpp @@ -214,8 +214,6 @@ void LODNode::updateVisibility() m_nodes[i]->setVisible(i == m_current_level); } } - - //const u32 now = irr_driver->getDevice()->getTimer()->getTime(); } void LODNode::OnRegisterSceneNode() @@ -227,10 +225,6 @@ void LODNode::OnRegisterSceneNode() return; } #endif - - const u32 now = irr_driver->getDevice()->getTimer()->getTime(); - - // support an optional, mostly hard-coded fade-in/out effect for objects with a single level #ifndef SERVER_ONLY if (!CVS->isGLSL()) diff --git a/src/tracks/model_definition_loader.cpp b/src/tracks/model_definition_loader.cpp index 17f9b6c59..20ed96d4d 100644 --- a/src/tracks/model_definition_loader.cpp +++ b/src/tracks/model_definition_loader.cpp @@ -144,7 +144,8 @@ LODNode* ModelDefinitionLoader::instanciateAsLOD(const XMLNode* node, scene::ISc } vector3df scale = vector3df(1.f, 1.f, 1.f); node->get("scale", &scale); - lod_node->autoComputeLevel(scale.getLength()); + // TODO samuncle: can be enabled after RC + //lod_node->autoComputeLevel(scale.getLength()); #ifdef DEBUG std::string debug_name = groupname+" (LOD track-object)";