forked from teamnwah/openmw-tes3coop
Stub handling for NiTextKeyExtraData to suppress some spam
This commit is contained in:
parent
496343b714
commit
1c544682d5
1 changed files with 7 additions and 2 deletions
|
@ -779,8 +779,9 @@ public:
|
||||||
Nif::ExtraPtr e = node->extra;
|
Nif::ExtraPtr e = node->extra;
|
||||||
while(!e.empty())
|
while(!e.empty())
|
||||||
{
|
{
|
||||||
Nif::NiStringExtraData *sd = dynamic_cast<Nif::NiStringExtraData*>(e.getPtr());
|
Nif::NiStringExtraData *sd;
|
||||||
if(sd != NULL)
|
Nif::NiTextKeyExtraData *td;
|
||||||
|
if((sd=dynamic_cast<Nif::NiStringExtraData*>(e.getPtr())) != NULL)
|
||||||
{
|
{
|
||||||
// String markers may contain important information
|
// String markers may contain important information
|
||||||
// affecting the entire subtree of this obj
|
// affecting the entire subtree of this obj
|
||||||
|
@ -791,6 +792,10 @@ public:
|
||||||
flags |= 0x01;
|
flags |= 0x01;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else if((td=dynamic_cast<Nif::NiTextKeyExtraData*>(e.getPtr())) != NULL)
|
||||||
|
{
|
||||||
|
// TODO: Read and store text keys somewhere
|
||||||
|
}
|
||||||
else
|
else
|
||||||
warn("Unhandled extra data type "+e->recName);
|
warn("Unhandled extra data type "+e->recName);
|
||||||
e = e->extra;
|
e = e->extra;
|
||||||
|
|
Loading…
Reference in a new issue