]> git.mxchange.org Git - simgear.git/commitdiff
Fix preview exclusion of sliders.
authorJames Turner <zakalawe@mac.com>
Sat, 22 Jun 2013 13:27:18 +0000 (14:27 +0100)
committerJames Turner <zakalawe@mac.com>
Sat, 22 Jun 2013 13:27:18 +0000 (14:27 +0100)
simgear/scene/model/SGReaderWriterXML.cxx

index 5e0db5c4c5cc3525a833d37f99a4aed8bd13e2b8..83d6d36dadd4731e8769645c4088248912fa3783 100644 (file)
@@ -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");
         }
     };