From Pjotr Svetachov, "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. :) )"
From Pjotr Svetachov, "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. :) )"



XiaoCC/osg,koshman86/osg,ntoand/osg,XiaoCC/osg,omega-hub/osg,omega-hub/osg,omega-hub/osg,koshman86/osg,artoolkit/osg,ghub/osg,artoolkit/osg,artoolkit/osg,ghub/osg,XiaoCC/osg,artoolkit/osg,koshman86/osg,XiaoCC/osg,ntoand/osg,ghub/osg,ghub/osg,XiaoCC/osg,koshman86/osg,ntoand/osg,ntoand/osg,omega-hub/osg