Hi Farshid, On Tue, Apr 26, 2011 at 5:13 PM, Farshid Lashkari <[email protected]> wrote: > Hi Robert, > On Tue, Apr 26, 2011 at 4:55 AM, Robert Osfield <[email protected]> > wrote: >> >> Reviewing the OutputStream.cpp's handling of WRITE_EXTERNAL_FILE and >> WRITE_USE_EXTERNAL >> it's clear that it does write out the image for both cases even though >> it should only do it for WRITE_EXTERNAL_FILE. I will contact Wang Rui >> about this. > > Yes, that was the behavior I observed. I was modifying the 3dsMax exporter > to support writing to osgb format and noticed that no matter which hint I > used, the image would always be overwritten. With my fix it appears to > behave correctly now.
I've contacted Rui and discussed the code and now understand the code properly, and the code I was suspicious about does indeed work correctly. Your fix stands as be appropriate too ;-) Cheers, Robert. _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
