diff --git a/src/osgVolume/Property.cpp b/src/osgVolume/Property.cpp index 20f993418..875963125 100644 --- a/src/osgVolume/Property.cpp +++ b/src/osgVolume/Property.cpp @@ -448,7 +448,7 @@ bool PropertyAdjustmentCallback::handle(const osgGA::GUIEventAdapter& ea,osgGA:: if (_updateTransparency && cpv._transparencyProperty.valid()) { OSG_NOTICE<<"Setting transparency to "<setValue(1.0f-v2); + cpv._transparencyProperty->setValue((1.0f-v2)*2.0f); } if (_updateSampleDensity && cpv._sampleDensityProperty.valid())