Merge pull request #967 from unelsson/daepluginoptionsfix

Clone pluginOptions.options
OpenSceneGraph-3.6
Robert Osfield 4 years ago committed by GitHub
commit a7a7c0de8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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;

Loading…
Cancel
Save