Thanks Bryan, fix now merged and submitted to svn/trunk.
On Mon, Jun 29, 2009 at 10:55 PM, Thrall, Bryan<[email protected]> wrote: > Thrall, Bryan wrote on Monday, June 29, 2009 4:54 PM: > >> The OpenFlight plugin doesn't handle unrecognized options or extra >> whitespace in all cases, causing it to crash. >> >> For example (since osgconv passes the same Options object to import > and >> export): >> >> osgconv -O "units=FEET convertToFeet" somefile.flt convfile.flt // >> crashes >> osgconv -O "units=FEET convertToFeet " somefile.flt convfile.flt // >> works >> osgconv -O "convertToFeet units=FEET " somefile.flt convfile.flt // >> crashes >> osgconv -O "convertToFeet units=FEET" somefile.flt convfile.flt // >> works >> >> The attached src/osgPlugins/openflight/exportoptions.cpp (from SVN rev >> 10428) fixes the problem. > > Er ... I forgot to uncomment my fix in that file; the attached version > has the same fix but actually in use :) > > -- > Bryan Thrall > FlightSafety International > [email protected] > > _______________________________________________ > osg-submissions mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > > _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
