Merge pull request #967 from unelsson/daepluginoptionsfix

Clone pluginOptions.options
This commit is contained in:
Robert Osfield 2020-11-10 13:51:18 +00:00 committed by GitHub
commit a7a7c0de8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,6 +68,8 @@ ReaderWriterDAE::readNode(std::istream& fin,
}
}
pluginOptions.options = options ? osg::clone(options, osg::CopyOp::SHALLOW_COPY) : new Options;
if (NULL == pDAE)
{
bOwnDAE = true;