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:
parent
41e410347e
commit
6b151be3f4
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user