* Frederic Bouvier -- Sunday 09 December 2007:
> Could you try to replace stricmp by strcasecmp ?

Yeah, works. (I didn't even know that one. :-)

I also got a crash and fixed it like so:


--- src/wizard_funcs.cxx        (revision 373)
+++ src/wizard_funcs.cxx        (working copy)
@@ -412,6 +412,8 @@
             vector<SGPropertyNode_ptr> name_nodes = 
animation_nodes[i]->getChildren("object-name");
             for (size_t j = 0; j < name_nodes.size(); j++ ) {
                 ssgEntity *e = find_named_node( model, 
name_nodes[j]->getStringValue() );
+                if (!e)
+                    continue;
                 ssgBranch *b = e->getParent( 0 );
                 b->removeKid( e );
             }


Looks like I'm using an object name that doesn't exist, or
something.

m.

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Flightgear-users mailing list
Flightgear-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-users

Reply via email to