[prev in list] [next in list] [prev in thread] [next in thread]
List: flightgear-devel
Subject: Re: [Flightgear-devel] Seg fault bisected to 1bafe15c4cc5 ("Adding highlighting system.")
From: James Hogan <james () albanarts ! com>
Date: 2021-10-08 22:01:30
Message-ID: CAAG0J993=wM=O3WDUf8wxQdV5BV6NHnDKwB4vixFmsEw2=FpKA () mail ! gmail ! com
[Download RAW message or body]
On Fri, 8 Oct 2021 at 22:58, Julian Smith <jules@op59.net> wrote:
>
> Ah, this looks like my new Highlight subsystem is not initialising its
> SGPropertyNode_ptr correctly.
>
> I should be able to push a fix in the next hour or so.
>
> In the meantime this might be a possible workaround:
>
> --- a/src/GUI/Highlight.cxx
> +++ b/src/GUI/Highlight.cxx
> @@ -413,7 +413,7 @@ int Highlight::highlight_nodes(osg::Node* node)
> property. */
> std::set<NameValue> items;
>
> - if (s_prop_enabled->getBoolValue())
> + if (s_prop_enabled && s_prop_enabled->getBoolValue())
> {
> /* As well as <node> itself, we also highlight other nodes by following
> a limited part of the tree of property dependencies:
Works for me.
Thanks
--
James Hogan
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic