Files
OpenSceneGraph/src/osgWrappers/serializers/osgManipulator/RotateSphereDragger.cpp
Robert Osfield 0adf26ec6e From Wang Rui, "The osgManipulator serializers are ready now. I need to modify the
META_OSGMANIPULATOR_Object macro to ensure these classes could work
with their wrappers, and a few naming styles should be changed as
well. Fortunately everything seems to compile fine under Windows and
my new Ubuntu system.

And I finally find the problem of the
serializers/osgTerrain/Terrain.cpp, it just missed an "osg::Group"
before "osg::CoordinateSystemNode" indicator. With the small fix
attached now VPB could generate terrain with osgt/osgb formats."
2010-04-28 20:16:44 +00:00

15 lines
629 B
C++

#include <osgManipulator/RotateSphereDragger>
#include <osgDB/ObjectWrapper>
#include <osgDB/InputStream>
#include <osgDB/OutputStream>
REGISTER_OBJECT_WRAPPER( osgManipulator_RotateSphereDragger,
new osgManipulator::RotateSphereDragger,
osgManipulator::RotateSphereDragger,
"osg::Object osg::Node osg::Transform osg::MatrixTransform osgManipulator::Dragger "
"osgManipulator::RotateSphereDragger" )
{
ADD_VEC4_SERIALIZER( Color, osg::Vec4() ); // _color
ADD_VEC4_SERIALIZER( PickColor, osg::Vec4() ); // _pickColor
}