From: Stuart Buchanan Date: Tue, 10 Feb 2015 21:19:51 +0000 (+0000) Subject: Fix VASI/PAPI so they are generated. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0cc5374fe72eb51994337bd392f706ed7f9c1b46;p=simgear.git Fix VASI/PAPI so they are generated. --- diff --git a/simgear/scene/tgdb/SGTileDetailsCallback.hxx b/simgear/scene/tgdb/SGTileDetailsCallback.hxx index d7ffb5b1..44c7f86f 100644 --- a/simgear/scene/tgdb/SGTileDetailsCallback.hxx +++ b/simgear/scene/tgdb/SGTileDetailsCallback.hxx @@ -871,7 +871,7 @@ public: lightGroup->addChild(groundLights2); } - if (vasiLights.empty()) { + if (! vasiLights.empty()) { EffectGeode* vasiGeode = new EffectGeode; Effect* vasiEffect = getLightEffect(24, osg::Vec3(1, 0.0001, 0.000001), 1, 24, true, _options); vasiGeode->setEffect(vasiEffect); @@ -1137,4 +1137,4 @@ public: SGDirectionalLightListBin holdshortLights; SGDirectionalLightListBin guardLights; SGDirectionalLightListBin reilLights; -}; \ No newline at end of file +};