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

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;