Disabled the use of the GeometryFinishedObjectReadCallback in the Geometry serializer as this doesn't look it's needed anymore.

This commit is contained in:
Robert Osfield 2018-01-13 16:43:42 +00:00
parent 561b49fb78
commit 3e6d118d10

View File

@ -3,6 +3,8 @@
#include <osgDB/InputStream>
#include <osgDB/OutputStream>
// #define USE_GEOMETRY_FINALIZER_CALLBACK
static void add_user_value_func_AttributeBinding(osgDB::IntLookup* lookup)
{
lookup->add("BIND_OFF",0); // ADD_USER_VALUE("ADD_USER_VALUE( BIND_OFF );
@ -184,5 +186,7 @@ REGISTER_OBJECT_WRAPPER( Geometry,
ADD_VECTOR_SERIALIZER( VertexAttribArrayList, osg::Geometry::ArrayList, osgDB::BaseSerializer::RW_OBJECT, 0 );
}
#ifdef USE_GEOMETRY_FINALIZER_CALLBACK
wrapper->addFinishedObjectReadCallback( new GeometryFinishedObjectReadCallback() );
#endif
}