From 5fef44b11c48f805bb258626dedceb63cfaeb5dd Mon Sep 17 00:00:00 2001 From: Stuart Buchanan Date: Mon, 27 Oct 2014 22:40:27 +0000 Subject: [PATCH] Change parameter name to avoid clash with cull-face --- simgear/scene/tgdb/pt_lights.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simgear/scene/tgdb/pt_lights.cxx b/simgear/scene/tgdb/pt_lights.cxx index bd4c979f..0e8092f8 100644 --- a/simgear/scene/tgdb/pt_lights.cxx +++ b/simgear/scene/tgdb/pt_lights.cxx @@ -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); -- 2.39.5