Disabled the use of the GeometryFinishedObjectReadCallback in the Geometry serializer as this doesn't look it's needed anymore.
This commit is contained in:
parent
561b49fb78
commit
3e6d118d10
@ -3,6 +3,8 @@
|
|||||||
#include <osgDB/InputStream>
|
#include <osgDB/InputStream>
|
||||||
#include <osgDB/OutputStream>
|
#include <osgDB/OutputStream>
|
||||||
|
|
||||||
|
// #define USE_GEOMETRY_FINALIZER_CALLBACK
|
||||||
|
|
||||||
static void add_user_value_func_AttributeBinding(osgDB::IntLookup* lookup)
|
static void add_user_value_func_AttributeBinding(osgDB::IntLookup* lookup)
|
||||||
{
|
{
|
||||||
lookup->add("BIND_OFF",0); // ADD_USER_VALUE("ADD_USER_VALUE( BIND_OFF );
|
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 );
|
ADD_VECTOR_SERIALIZER( VertexAttribArrayList, osg::Geometry::ArrayList, osgDB::BaseSerializer::RW_OBJECT, 0 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef USE_GEOMETRY_FINALIZER_CALLBACK
|
||||||
wrapper->addFinishedObjectReadCallback( new GeometryFinishedObjectReadCallback() );
|
wrapper->addFinishedObjectReadCallback( new GeometryFinishedObjectReadCallback() );
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user