Resert default value to 1.0
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14408 16af8721-9629-0410-8352-f15c8da7e697
This commit is contained in:
@@ -2866,7 +2866,7 @@ void SlideShowConstructor::addVolume(const std::string& filename, const Position
|
||||
osg::ref_ptr<osgVolume::SampleRatioWhenMovingProperty> srm = vs.valid() ? vs->getSampleRatioWhenMovingProperty() : 0;
|
||||
if (!volumeData.sampleRatioWhenMovingValue.empty())
|
||||
{
|
||||
srm = new osgVolume::SampleRatioWhenMovingProperty(0.5);
|
||||
srm = new osgVolume::SampleRatioWhenMovingProperty(1.0);
|
||||
setUpVolumeScalarProperty(tile.get(), srm.get(), volumeData.sampleRatioWhenMovingValue);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user