From 215512647c4323b93dc0660df27d7e43835e34ea Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Tue, 1 Nov 2011 11:08:48 +0000 Subject: [PATCH] Added setting of the sampleDensityWhenMovingProperty at the same time as when setting the sampleDensityProperty --- src/osgVolume/Property.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/osgVolume/Property.cpp b/src/osgVolume/Property.cpp index 45ef939c9..b200f2d93 100644 --- a/src/osgVolume/Property.cpp +++ b/src/osgVolume/Property.cpp @@ -385,6 +385,11 @@ bool PropertyAdjustmentCallback::handle(const osgGA::GUIEventAdapter& ea,osgGA:: OSG_INFO<<"Setting sample density to "<setValue(v4); } + if (_updateSampleDensity && cpv._sampleDensityWhenMovingProperty.valid()) + { + OSG_INFO<<"Setting sample density when moving to "<setValue(v4); + } } case(osgGA::GUIEventAdapter::KEYDOWN): {