diff --git a/examples/osgvolume/osgvolume.cpp b/examples/osgvolume/osgvolume.cpp index 4a1a6a71d..b28214d7d 100644 --- a/examples/osgvolume/osgvolume.cpp +++ b/examples/osgvolume/osgvolume.cpp @@ -842,7 +842,7 @@ osg::Image* doColourSpaceConversion(ColourSpaceOperation op, osg::Image* image, } -osg::TransferFunction1D* readTransferFunctionFile(const std::string& filename) +osg::TransferFunction1D* readTransferFunctionFile(const std::string& filename, float colorScale=1.0f) { std::string foundFile = osgDB::findDataFile(filename); if (foundFile.empty()) @@ -862,7 +862,7 @@ osg::TransferFunction1D* readTransferFunctionFile(const std::string& filename) if (fin) { std::cout<<"value = "<