From: Stuart Buchanan Date: Mon, 27 Oct 2014 22:40:27 +0000 (+0000) Subject: Change parameter name to avoid clash with cull-face X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5fef44b11c48f805bb258626dedceb63cfaeb5dd;p=simgear.git Change parameter name to avoid clash with cull-face --- 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);