1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-04 03:40:14 +00:00

Create particle systems even when MRK was specified

This commit is contained in:
Chris Robinson 2013-04-06 11:26:51 -07:00
parent 41e410347e
commit 6b151be3f4

View File

@ -1444,9 +1444,9 @@ class NIFMeshLoader : Ogre::ManualResourceLoader
// affecting the entire subtree of this obj
if(sd->string == "MRK")
{
// Marker objects. These are only visible in the
// Marker objects. These meshes are only visible in the
// editor.
return;
flags |= 0x80000000;
}
}
e = e->extra;
@ -1470,7 +1470,7 @@ class NIFMeshLoader : Ogre::ManualResourceLoader
ctrl = ctrl->next;
}
if(node->recType == Nif::RC_NiTriShape)
if(node->recType == Nif::RC_NiTriShape && !(flags&0x80000000))
{
const Nif::NiTriShape *shape = static_cast<const Nif::NiTriShape*>(node);