clone pluginOptions.options

This commit is contained in:
Nelsson Huotari 2020-07-01 12:39:24 +03:00
parent 46505f66d3
commit f29ecc10a8

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;