[osg-submissions] Source fix for missing osg::Light in .ive plugin
lab_zj
lab_zj at 163.com
Sun Jul 6 19:12:33 PDT 2008
Hi, Robert:
In lastest svn version of OSG, the .ive plugin missing osg::Light, it
does not process I/O for osg::Light. Now I have fixed it as follows:
1. In ReadWrite.h, I move the definition for "IVELIGHT" from "Objects
and Nodes" group to "State attributes" group.
2. In DataInputStream.cpp, I add support code in DataInputStream::readStateAttribute
for osg::Light.
3. In DataOutputStream.cpp, I add support code in DataOutputStream::writeStateAttribute
for osg::Light.
Sorry for my poor english. the modified three files included in attachment.
thanks and good luck
Liang aibin
2008-7-7
lab_zj
2008-07-07
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20080707/7b4ee449/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OSG_ive_patch.zip
Type: application/octet-stream
Size: 15181 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20080707/7b4ee449/attachment.obj>
More information about the osg-submissions
mailing list