mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-22 21:40:42 +00:00
Stop warning about unused nif properties
This commit is contained in:
parent
d2f8f81dd9
commit
b7867d6f0a
@ -38,7 +38,10 @@ void Node::getProperties(const Nif::NiTexturingProperty *&texprop,
|
|||||||
wireprop = static_cast<const Nif::NiWireframeProperty*>(pr);
|
wireprop = static_cast<const Nif::NiWireframeProperty*>(pr);
|
||||||
else if (pr->recType == Nif::RC_NiStencilProperty)
|
else if (pr->recType == Nif::RC_NiStencilProperty)
|
||||||
stencilprop = static_cast<const Nif::NiStencilProperty*>(pr);
|
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;
|
std::cerr<< "Unhandled property type: "<<pr->recName <<std::endl;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user