From Konstantin Matveyev, "I've changed osg::Uniform::Callback to osg::UniformCallback.
osg::UniformCallback inherits osg::Callback now. I don't really now if this class should be inside osgWrappers/serializers because StateAttributeCallback is not presented there, but i've included it in the patch. Please see archive in the attachment. PS DEEP_COPY_UNIFORMS works for me. " Note from Robert Osfield, added typedef UniformCallback Callback for backwards compatibility. git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14885 16af8721-9629-0410-8352-f15c8da7e697
This commit is contained in:
@@ -36,6 +36,7 @@ COPY_OP( Object, DEEP_COPY_OBJECTS )
|
||||
COPY_OP( StateSet, DEEP_COPY_STATESETS )
|
||||
COPY_OP( Image, DEEP_COPY_IMAGES )
|
||||
COPY_OP( Uniform, DEEP_COPY_UNIFORMS )
|
||||
COPY_OP( UniformCallback, DEEP_COPY_CALLBACKS )
|
||||
COPY_OP( StateAttributeCallback, DEEP_COPY_CALLBACKS )
|
||||
COPY_OP( Drawable, DEEP_COPY_DRAWABLES )
|
||||
COPY_OP( Texture, DEEP_COPY_TEXTURES )
|
||||
|
||||
Reference in New Issue
Block a user