mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-21 07:09:39 +00:00
Create particle systems even when MRK was specified
This commit is contained in:
parent
41e410347e
commit
6b151be3f4
1 changed files with 3 additions and 3 deletions
|
@ -1444,9 +1444,9 @@ class NIFMeshLoader : Ogre::ManualResourceLoader
|
||||||
// affecting the entire subtree of this obj
|
// affecting the entire subtree of this obj
|
||||||
if(sd->string == "MRK")
|
if(sd->string == "MRK")
|
||||||
{
|
{
|
||||||
// Marker objects. These are only visible in the
|
// Marker objects. These meshes are only visible in the
|
||||||
// editor.
|
// editor.
|
||||||
return;
|
flags |= 0x80000000;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
e = e->extra;
|
e = e->extra;
|
||||||
|
@ -1470,7 +1470,7 @@ class NIFMeshLoader : Ogre::ManualResourceLoader
|
||||||
ctrl = ctrl->next;
|
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);
|
const Nif::NiTriShape *shape = static_cast<const Nif::NiTriShape*>(node);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue