mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-11 05:20:14 -04:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
f9f91d5386
@ -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…
x
Reference in New Issue
Block a user