Changeset 528


Ignore:
Timestamp:
10/21/10 12:39:01 (19 months ago)
Author:
ddangelo
Message:

Potential typo in osg::PrecipitationEffect? adjusted.
The getter and setter for the particle density are called:

void
setMaximumParticleDensity (float density)
float
setMaximumParticleDensity () const

but most propably, the getter should be called:

float
getMaximumParticleDensity () const

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/avango-osg/src/avango/osg/particle/PrecipitationEffect.cpp

    r527 r528  
    242242av::osg::particle::PrecipitationEffect::getMaximumParticleDensityCB(const av::SFFloat::GetValueEvent& event) 
    243243{ 
    244   *(event.getValuePtr()) = mOsgPrecipitationEffect->getMaximumParticleDensity(); 
     244  *(event.getValuePtr()) = mOsgPrecipitationEffect->setMaximumParticleDensity(); 
    245245} 
    246246 
Note: See TracChangeset for help on using the changeset viewer.