Hi Ragnar, On Thu, Feb 19, 2009 at 5:23 PM, Robert Osfield <[email protected]> wrote: > On further review it looks like to me the > > if (numRead<10) && if (numRead<6 lines should be rewritten numRead<1 > in both cases rather than swap the fread parameters.
I've just pulled down some .hdr images from the web and found that they didn't read with the svn/trunk or OSG-2.8 branch of the OSG. The changes that introduced the bug were actually warning fixes that I made a couple of months back. Alas I didn't test the load after the changes as they looked so minor, otherwise I would have caught it right away. Frustratingly now one seems to have tried out hdr imagery in those two months either...despite all the calls for testing. The fix I have gone for is to check if(numRead<1) and on my testing at this end has shown it fixes the hdr imagery. This is now checked into svn/trunk and the OSG-2.8 branch. Could you please test it out. Thanks, Robert. _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
