74:: As of 1.9.0, the cockpit/panel system will segfault if the <type>switch</type> statement is omitted from a layer that has nothing but sublayers. Actually you don’t even need any sublayers; an empty layer also segfaults:
<layer> <name>SIGSEGV</name> </layer> The same of course applies to layers of the undocumented type "group", as mentioned in bug 73, since leaving out one type of <type> directive is pretty much like leaving out another. But therein lies a clue as to how best to solve the problem: There ought not be any distinction between type "group" and type "texture" (which is the default). There ought to be one heterotic type of layer, whose contents can include zero or one textures and zero or more subsidiary layers (plus of course conditionals, transformations, etc. that apply to all the texture and/or sublayers collectively). This "heterotic" type should be the default, and "group" and "texture" should be synonyms for it. For context, including other bugs, see http://www.av8n.com/fly/fgfs/htm/bug-list.htm ------------------------------------------------------------------------------ Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel