Re: [osg-users] osgSim::MultiSwitch Serialization

2018-07-29 Thread David Stephan
Attached is a little test. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=74419#74419 /* OpenSceneGraph example, osgmultiswitchtest. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and

Re: [osg-users] osgSim::MultiSwitch Serialization

2018-07-26 Thread Robert Osfield
HI David, I'm don't have time to look at the code right now so will just provide some general hints. The serailizers have SO version built into them so you can add or remove components of the serializer based on the SO version of the OSG. There are number of places in the OSG serailizers that

[osg-users] osgSim::MultiSwitch Serialization

2018-07-26 Thread David Stephan
osgSim::MultiSwitch and flt files support named switches, but the names aren't saved. It seems like an easy fix, though I'm not sure how to mess with the serializer in a backwards compatible way. relevant files: src/osgSim/MultiSwitch.cpp src/osgWrappers/serializers/osgSim/MultiSwitch.cpp