Changeset 8565
- Timestamp:
- 07/11/08 21:23:49
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
OpenSceneGraph/trunk/src/osgPlugins/ive/DataInputStream.cpp
r8521 r8565 54 54 #include "Multisample.h" 55 55 #include "Fog.h" 56 #include "Light.h" 56 57 57 58 … … 1194 1195 attribute = new osg::Fog(); 1195 1196 ((ive::Fog*)(attribute))->read(this); 1197 } 1198 else if(attributeID == IVELIGHT){ 1199 attribute = new osg::Light(); 1200 ((ive::Light*)(attribute))->read(this); 1196 1201 } 1197 1202 else{ OpenSceneGraph/trunk/src/osgPlugins/ive/DataOutputStream.cpp
r8460 r8565 57 57 #include "Multisample.h" 58 58 #include "Fog.h" 59 #include "Light.h" 59 60 60 61 #include "Group.h" … … 836 837 ((ive::Fog*)(attribute))->write(this); 837 838 } 839 // This is a Light 840 else if(dynamic_cast<const osg::Light*>(attribute)){ 841 ((ive::Light*)(attribute))->write(this); 842 } 838 843 839 844 else{
