Thanks Colin, type of changes I like - less code and less bugs ;-) Changes now merged and submitted to svn/trunk.
On Thu, Apr 15, 2010 at 2:41 PM, Colin McDonald <[email protected]> wrote: > Hi Robert, > > The new 3ds plugin isn't working at all on big-endian machines, due to > a byte order issue. > > The problem is that osg::SwapBytes code has been copied from the old > plugin to the new one, but the latest lib3ds also incorporates code to > handle byte ordering in read & writing. So the net result is that the > swap is done twice. > > The solution is simply to remove the custom osg code, and use the > stock lib3ds code. The attached files are against today's revision > 11331. I've tested on Sparc & Intel. > > Regards > > Colin McDonald > > _______________________________________________ > 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
