Changeset 335 for trunk/avango-osg/src/avango/osg/Camera.cpp
- Timestamp:
- 01/13/10 16:11:18 (2 years ago)
- File:
-
- 1 edited
-
trunk/avango-osg/src/avango/osg/Camera.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/avango-osg/src/avango/osg/Camera.cpp
r299 r335 204 204 if (texture) a->Texture.setValue(texture); 205 205 } 206 if (i->second._image) 207 { 208 Image* image = dynamic_cast<Image*>(i->second._image->getUserData()); 209 if (image) a->Image.setValue(image); 210 } 206 211 a->Level.setValue(i->second._level); 207 212 a->Face.setValue(i->second._face); … … 244 249 attachment._texture = (*i)->Texture.getValue()->getOsgTexture(); 245 250 } 251 if ((*i)->Image.getValue().isValid()) 252 { 253 attachment._image = (*i)->Image.getValue()->getOsgImage(); 254 } 246 255 attachment._mipMapGeneration = (*i)->MIPMapGeneration.getValue(); 247 256 attachment._multisampleSamples = (*i)->MultisampleSamples.getValue();
Note: See TracChangeset
for help on using the changeset viewer.
