From 98b1f15a45cce2f68c094cf6746c6817120bdae5 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 14 Feb 2011 16:05:33 +0000 Subject: [PATCH] Added copyop parameter to cloneOptions() method --- include/osgDB/Options | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }