forked from teamnwah/openmw-tes3coop
Stop warning about unused nif properties
This commit is contained in:
parent
d2f8f81dd9
commit
b7867d6f0a
1 changed files with 4 additions and 1 deletions
|
@ -38,7 +38,10 @@ void Node::getProperties(const Nif::NiTexturingProperty *&texprop,
|
|||
wireprop = static_cast<const Nif::NiWireframeProperty*>(pr);
|
||||
else if (pr->recType == Nif::RC_NiStencilProperty)
|
||||
stencilprop = static_cast<const Nif::NiStencilProperty*>(pr);
|
||||
else
|
||||
// the following are unused by the MW engine
|
||||
else if (pr->recType != Nif::RC_NiFogProperty
|
||||
&& pr->recType != Nif::RC_NiDitherProperty
|
||||
&& pr->recType != Nif::RC_NiShadeProperty)
|
||||
std::cerr<< "Unhandled property type: "<<pr->recName <<std::endl;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue