Thanks Pjotr, fix merged and submitted to svn/trunk and OSG-3.2 branch.
On 15 April 2014 14:14, Pjotr Svetachov <[email protected]> wrote: > Hi Robert, > > Today I found a bug in the IutputStream class when saving array > attributes in vec3b format. It looks like my compiler takes the wrong > overload and outputs integers instead of characters. The problem is > that vec3b is of type signed char and that is not the same as char ( > see > http://stackoverflow.com/questions/436513/char-signed-char-char-unsigned-char > ) and visual studio 2013 will promote it to integer when choosing an > overload. > It looks like that the InputStream class already takes care of this > issue (if it didn't it would have read everything ok and I would have > not even stumbled upon this bug. :) ) > > Cheers, > Pjotr > > _______________________________________________ > 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
