]> git.mxchange.org Git - simgear.git/commitdiff
Change parameter name to avoid clash with cull-face
authorStuart Buchanan <stuart_d_buchanan@yahoo.co.uk>
Mon, 27 Oct 2014 22:40:27 +0000 (22:40 +0000)
committerStuart Buchanan <stuart_d_buchanan@yahoo.co.uk>
Mon, 27 Oct 2014 22:40:27 +0000 (22:40 +0000)
simgear/scene/tgdb/pt_lights.cxx

index bd4c979f366e4ec10f05ae1b434a78cb395f591a..0e8092f8670b37668b0247257a1f895af58b47df 100644 (file)
@@ -109,7 +109,7 @@ Effect* getLightEffect(float size, const Vec3& attenuation,
     params->getNode("min-size",true)->setValue(minSize);
     params->getNode("max-size",true)->setValue(maxSize);
     params->getNode("cull-face",true)->setValue(directional ? "back" : "off");
-    params->getNode("directional",true)->setValue(directional);
+    params->getNode("light-directional",true)->setValue(directional);
 
     effect = makeEffect(effectProp, true, options);