]> git.mxchange.org Git - simgear.git/commitdiff
Fix VASI/PAPI so they are generated.
authorStuart Buchanan <stuart_d_buchanan@yahoo.co.uk>
Tue, 10 Feb 2015 21:19:51 +0000 (21:19 +0000)
committerStuart Buchanan <stuart_d_buchanan@yahoo.co.uk>
Tue, 10 Feb 2015 21:19:51 +0000 (21:19 +0000)
simgear/scene/tgdb/SGTileDetailsCallback.hxx

index d7ffb5b1febca19791f35985fa5bc7603774b659..44c7f86ff7bb178c590862bb999b5233a8bee4d8 100644 (file)
@@ -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
+};