forked from mirror/openmw-tes3mp
Merge pull request #1604
This commit is contained in:
commit
ac1609c433
1 changed files with 0 additions and 10 deletions
|
@ -245,11 +245,6 @@ void BulletNifLoader::handleNiTriShape(const Nif::NiTriShape *shape, int flags,
|
||||||
{
|
{
|
||||||
assert(shape != NULL);
|
assert(shape != NULL);
|
||||||
|
|
||||||
// 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 the object was marked "NCO" earlier, it shouldn't collide with
|
// If the object was marked "NCO" earlier, it shouldn't collide with
|
||||||
// anything. So don't do anything.
|
// anything. So don't do anything.
|
||||||
if ((flags & 0x800))
|
if ((flags & 0x800))
|
||||||
|
@ -257,11 +252,6 @@ void BulletNifLoader::handleNiTriShape(const Nif::NiTriShape *shape, int flags,
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
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())
|
if (!shape->skin.empty())
|
||||||
isAnimated = false;
|
isAnimated = false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue