diff --git a/include/osgDB/Options b/include/osgDB/Options index 5882a1e94..a216cf8c4 100644 --- a/include/osgDB/Options +++ b/include/osgDB/Options @@ -114,7 +114,7 @@ class OSGDB_EXPORT Options : public osg::Object META_Object(osgDB,Options); - Options* cloneOptions() const { return static_cast(clone(osg::CopyOp::SHALLOW_COPY)); } + Options* cloneOptions(const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY) const { return static_cast(clone(copyop)); } /** Set the general Options string.*/ void setOptionString(const std::string& str) { _str = str; parsePluginStringData(str); }