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:
commit
f9f91d5386
1 changed files with 5 additions and 0 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue