From: James Turner Date: Sat, 22 Jun 2013 13:27:18 +0000 (+0100) Subject: Fix preview exclusion of sliders. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4d1e7c536fb8102f2748f76f17166840a851e3f6;p=simgear.git Fix preview exclusion of sliders. --- diff --git a/simgear/scene/model/SGReaderWriterXML.cxx b/simgear/scene/model/SGReaderWriterXML.cxx index 5e0db5c4..83d6d36d 100644 --- a/simgear/scene/model/SGReaderWriterXML.cxx +++ b/simgear/scene/model/SGReaderWriterXML.cxx @@ -226,7 +226,7 @@ namespace { { string typeString(aNode->getStringValue("type")); // exclude these so we don't show yellow outlines in preview mode - return (typeString == "pick") || (typeString == "knob"); + return (typeString == "pick") || (typeString == "knob") || (typeString == "slider"); } };