Remove extra setVisibilityFlags on SkelBase

SkelBase is already contained in mEntities.
deque
scrawl 11 years ago
parent ddba9e5854
commit 6c6b3bd890

@ -118,9 +118,6 @@ ObjectScene::~ObjectScene()
void ObjectScene::setVisibilityFlags (unsigned int flags)
{
if (mSkelBase)
mSkelBase->setVisibilityFlags (flags);
for (std::vector<Ogre::Entity*>::iterator iter (mEntities.begin()); iter!=mEntities.end();
++iter)
(*iter)->setVisibilityFlags (flags);

Loading…
Cancel
Save