Changeset 578
- Timestamp:
- 08/23/11 11:00:11 (9 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/avango-osg/src/avango/osg/particle/PrecipitationEffect.cpp
r528 r578 25 25 26 26 #include <osg/Fog> 27 #include <osg/Version> 27 28 #include <avango/osg/particle/PrecipitationEffect.h> 28 29 #include <avango/osg/ObjectLink.h> … … 242 243 av::osg::particle::PrecipitationEffect::getMaximumParticleDensityCB(const av::SFFloat::GetValueEvent& event) 243 244 { 245 #if OSG_VERSION_MAJOR == 3 246 *(event.getValuePtr()) = mOsgPrecipitationEffect->getMaximumParticleDensity(); 247 #elif OSG_VERSION_MAJOR == 2 244 248 *(event.getValuePtr()) = mOsgPrecipitationEffect->setMaximumParticleDensity(); 249 #endif 245 250 } 246 251
Note: See TracChangeset
for help on using the changeset viewer.
