From b49f51cbfce92a8448454d10b9aff6f3f10a2786 Mon Sep 17 00:00:00 2001 From: Alexei Dobrohotov Date: Thu, 12 Aug 2021 18:33:06 +0300 Subject: [PATCH] Serialize NifOsg::MatrixTransform children properly --- components/sceneutil/serialize.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/sceneutil/serialize.cpp b/components/sceneutil/serialize.cpp index 1b5c1feed8..703b63af7d 100644 --- a/components/sceneutil/serialize.cpp +++ b/components/sceneutil/serialize.cpp @@ -80,7 +80,7 @@ class MatrixTransformSerializer : public osgDB::ObjectWrapper { public: MatrixTransformSerializer() - : osgDB::ObjectWrapper(createInstanceFunc, "NifOsg::MatrixTransform", "osg::Object osg::Node osg::Transform osg::MatrixTransform NifOsg::MatrixTransform") + : osgDB::ObjectWrapper(createInstanceFunc, "NifOsg::MatrixTransform", "osg::Object osg::Node osg::Group osg::Transform osg::MatrixTransform NifOsg::MatrixTransform") { } };