Thanks Konstantin, changes looks sensible, now merged and submitted to svn/trunk.
On 2 June 2015 at 09:33, Konstantin <[email protected]> wrote: > Hi, Robert! > > 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. > > PPS > typedef osg::UniformCallback Callback; > inside Uniform class can prevent some compilation errors for developers. > > KOS > > 2015-05-14 20:21 GMT+04:00 Konstantin <[email protected]>: >> >> Hi, Jannik! >> >> osg::Uniform::Callback doesn't derived from osg::Callback in the latest >> OSG (3.3.7) >> First we should derive osg::Uniform::Callback from osg::Callback then!? >> >> Is the a chance if someone wants to deep copy uniform, but doesn't want to >> deep copy it's callbacks? >> >> > > > _______________________________________________ > osg-submissions mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
