Remove commented code + disable autolodcompute for RC
This commit is contained in:
parent
7ff6f291d2
commit
bb42d72bc5
@ -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()
|
||||
@ -228,10 +226,6 @@ void LODNode::OnRegisterSceneNode()
|
||||
}
|
||||
#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())
|
||||
{
|
||||
|
@ -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)";
|
||||
|
Loading…
Reference in New Issue
Block a user