Hi,

in attachments I send a support for writing and reading StencilTwoSided in ive 
file. 
Also i found and fix bug with reading a LOD from ive file.
was
        setCenterMode((osg::LOD::CenterMode)in->readInt());
        setCenter(in->readVec3());

and should be
        setCenter(in->readVec3());
        setCenterMode((osg::LOD::CenterMode)in->readInt());

because setCenter function override the osg::LOD::CenterMode to 
USER_DEFINED_CENTER





Thank you!

Cheers,
Lukasz

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=46306#46306




Attachments: 
http://forum.openscenegraph.org//files/cmakelists_455.txt
http://forum.openscenegraph.org//files/stenciltwosided_177.h
http://forum.openscenegraph.org//files/stenciltwosided_327.cpp
http://forum.openscenegraph.org//files/lod_127.cpp


_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to