Skip to content

Commit

Permalink
removed the unnecessary comment
Browse files Browse the repository at this point in the history
  • Loading branch information
uramer committed Feb 9, 2018
1 parent 86c25f5 commit 5502790
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions components/nifbullet/bulletnifloader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -252,18 +252,6 @@ void BulletNifLoader::handleNiTriShape(const Nif::NiTriShape *shape, int flags,
return;
}


/* this is an improper way to handle NIF flags, see https://bugs.openmw.org/issues/4319#change-22066 for more details
// Interpret flags
bool hidden = (flags&Nif::NiNode::Flag_Hidden) != 0;
bool collide = (flags&Nif::NiNode::Flag_MeshCollision) != 0;
bool bbcollide = (flags&Nif::NiNode::Flag_BBoxCollision) != 0;
if (!collide && !bbcollide && hidden)
// This mesh apparently isn't being used for anything, so don't
// bother setting it up.
return;*/

if (!shape->skin.empty())
isAnimated = false;

Expand Down

0 comments on commit 5502790

Please sign in to comment.