mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-06 00:55:50 +00:00
fixed NIF loader problem with NiTriShape as root node
This commit is contained in:
parent
7e4f655939
commit
a8f4b3e66c
@ -604,7 +604,7 @@ void NIFLoader::loadResource(Resource *resource)
|
||||
Record *r = nif.getRecord(0);
|
||||
assert(r != NULL);
|
||||
|
||||
if(r->recType != RC_NiNode)
|
||||
if(r->recType != RC_NiNode && r->recType != RC_NiTriShape)
|
||||
{
|
||||
warn("First record in file was not a NiNode, but a " +
|
||||
r->recName.toString() + ". Skipping file.");
|
||||
|
Loading…
Reference in New Issue
Block a user