From 4d1e7c536fb8102f2748f76f17166840a851e3f6 Mon Sep 17 00:00:00 2001 From: James Turner Date: Sat, 22 Jun 2013 14:27:18 +0100 Subject: [PATCH] Fix preview exclusion of sliders. --- simgear/scene/model/SGReaderWriterXML.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); } };