From ce7b3af1d758197e478b479d23a944225de67563 Mon Sep 17 00:00:00 2001 From: Alexander Gessler Date: Sat, 28 Mar 2015 12:53:08 +0100 Subject: [PATCH] CompareDump: fix typo in light compare code. Brings regression suite local runs to 100%. --- tools/assimp_cmd/CompareDump.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/assimp_cmd/CompareDump.cpp b/tools/assimp_cmd/CompareDump.cpp index 514ce3abd..0c7a52b46 100644 --- a/tools/assimp_cmd/CompareDump.cpp +++ b/tools/assimp_cmd/CompareDump.cpp @@ -746,7 +746,7 @@ void CompareOnTheFlyLight(comparer_context& comp) { const aiLightSourceType type = static_cast( comp.cmp("mType")); - if(type==aiLightSource_DIRECTIONAL) { + if(type!=aiLightSource_DIRECTIONAL) { comp.cmp("mAttenuationConstant"); comp.cmp("mAttenuationLinear"); comp.cmp("mAttenuationQuadratic");