Inverse updateAbsolutePosition and Visibility test in scenemanager

This commit is contained in:
Vincent Lejeune 2014-09-11 01:08:06 +02:00
parent dea23d7a69
commit e19ab67571

View File

@ -405,9 +405,9 @@ parseSceneManager(core::list<scene::ISceneNode*> List, std::vector<scene::IScene
{
if (LODNode *node = dynamic_cast<LODNode *>(*I))
node->updateVisibility();
(*I)->updateAbsolutePosition();
if (!(*I)->isVisible())
continue;
(*I)->updateAbsolutePosition();
if (ParticleSystemProxy *node = dynamic_cast<ParticleSystemProxy *>(*I))
{