mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-25 22:10:41 -04: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…
x
Reference in New Issue
Block a user