diff --git a/examples/osgvolume/osgvolume.cpp b/examples/osgvolume/osgvolume.cpp index 4fc13e85e..e78c0892f 100644 --- a/examples/osgvolume/osgvolume.cpp +++ b/examples/osgvolume/osgvolume.cpp @@ -1720,14 +1720,15 @@ int main( int argc, char **argv ) { osg::TransferFunction1D::ValueMap valueMap; float value = 0.0; - while(fin && value<1.0) + while(fin && value<=1.0) { float red, green, blue, alpha; fin >> red >> green >> blue >> alpha; if (fin) { - std::cout<<"value = "<