Files
OpenSceneGraph/src/osgWrappers/serializers/osgAnimation/UpdateMorph.cpp
Marc Helbling 43443928d0 Updates osgAnimation
This updates is mainly for the gles plugint to work correctly.

* adds Quaternion array
* reintroduces `KeyframeContainer::linearInterpolationDeduplicate`
* fixes MorphGeometry OSG serialization (target names)
2016-07-01 17:04:15 +02:00

19 lines
615 B
C++

#undef OBJECT_CAST
#define OBJECT_CAST dynamic_cast
#include <osgAnimation/MorphGeometry>
#include <osgDB/ObjectWrapper>
#include <osgDB/InputStream>
#include <osgDB/OutputStream>
REGISTER_OBJECT_WRAPPER( osgAnimation_UpdateMorph,
new osgAnimation::UpdateMorph,
osgAnimation::UpdateMorph,
"osg::Object osg::Callback osg::NodeCallback osgAnimation::UpdateMorph" )
{
ADD_VECTOR_SERIALIZER( TargetNames, osgAnimation::UpdateMorph::TargetNames, osgDB::BaseSerializer::RW_STRING, 1 );
}
#undef OBJECT_CAST
#define OBJECT_CAST static_cast