[osg-submissions] Handling of inproperly quoted -O PRECISION
L.Voerman
l.voerman at rug.nl
Mon Aug 20 10:25:36 PDT 2007
Hi Robert,
On windows the precicion is set to an uninitialized value
if the PRECISION option is not properly quoted.
In my case this seems to result in precision 0 on linux
(gcc/osg1.2), on windows(VC8/osg1.2&osgsvn) I get a HUGE
value.
I suggest to keep the default precision if the integer in
the option string is unreadable.
C:\>osgconv -O PRECISION 10 cow.osg cow2.osg
Warning: Could not find plugin to read objects from file
"10".
^C (trying to write a HUGE file, 37M+ while still writing
the first float value)
attached: src/osgPlugins/osg/ReaderWriterOSG.cpp (unix
style)
Regards,
Laurens Voerman
HPC&V
CIT University of Groningen
www: http://www.rug.nl/cit/hpcv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ReaderWriterOSG.cpp
Type: text/x-chdr
Size: 6435 bytes
Desc: not available
Url : http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20070820/6b8f18a6/attachment.h
More information about the osg-submissions
mailing list