CollisionSwitch and Switch/LOD node fixes

Properly apply transformations to both switch and LOD nodes
Allow both NiSwitchNode and NiLODNode to be the root node
Properly add CollisionSwitch into the scene graph
This commit is contained in:
Capostrophic 2020-04-29 15:50:50 +03:00 committed by Bret Curtis
parent 7dedf05f05
commit bfc45fbbde
2 changed files with 27 additions and 12 deletions

View file

@ -126,6 +126,7 @@ void registerSerializers()
"NifOsg::StaticBoundingBoxCallback",
"NifOsg::GeomMorpherController",
"NifOsg::UpdateMorphGeometry",
"NifOsg::CollisionSwitch",
"osgMyGUI::Drawable",
"osg::DrawCallback",
"osgOQ::ClearQueriesCallback",