1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-04-01 13:36:40 +00:00

Merge remote-tracking branch 'origin/master'

This commit is contained in:
Marc Zinnschlag 2016-02-21 09:01:17 +01:00
commit f9f91d5386

View file

@ -266,6 +266,11 @@ void BulletNifLoader::handleNiTriShape(const Nif::NiTriShape *shape, int flags,
if (!shape->skin.empty()) if (!shape->skin.empty())
isAnimated = false; isAnimated = false;
if (shape->data.empty())
return;
if (shape->data->triangles->empty())
return;
if (isAnimated) if (isAnimated)
{ {
if (!mCompoundShape) if (!mCompoundShape)