CompareDump: fix typo in light compare code.

Brings regression suite local runs to 100%.
pull/515/head
Alexander Gessler 2015-03-28 12:53:08 +01:00 committed by Alexander Gessler
parent e2addcee77
commit ce7b3af1d7
1 changed files with 1 additions and 1 deletions

View File

@ -746,7 +746,7 @@ void CompareOnTheFlyLight(comparer_context& comp) {
const aiLightSourceType type = static_cast<aiLightSourceType>(
comp.cmp<uint32_t>("mType"));
if(type==aiLightSource_DIRECTIONAL) {
if(type!=aiLightSource_DIRECTIONAL) {
comp.cmp<float>("mAttenuationConstant");
comp.cmp<float>("mAttenuationLinear");
comp.cmp<float>("mAttenuationQuadratic");