diff --git a/examples/osgvolume/osgvolume.cpp b/examples/osgvolume/osgvolume.cpp index 333152bc7..3afa492e7 100644 --- a/examples/osgvolume/osgvolume.cpp +++ b/examples/osgvolume/osgvolume.cpp @@ -1080,18 +1080,19 @@ int main( int argc, char **argv ) float sliceEnd=1.0f; while (arguments.read("--clip",sliceEnd)) { OSG_NOTICE<<"Warning: --clip option no longer supported."<postMultScale(osg::Vec3d(fabs(xMultiplier), fabs(yMultiplier), fabs(zMultiplier))); + } + osg::Vec4 minValue(FLT_MAX, FLT_MAX, FLT_MAX, FLT_MAX); osg::Vec4 maxValue(-FLT_MAX, -FLT_MAX, -FLT_MAX, -FLT_MAX); bool computeMinMax = false;