Hi Cedric, It would be way too fine grained to have each callback type individually supported in CopyOp, we'd basically open the door to flooding this class with huge range all OSG classes.
The right thing would probably just to DEEP_COPY_CALLBACKS enum/suport in some way. Robert. On Wed, Aug 5, 2009 at 2:55 PM, Cedric Pinson<[email protected]> wrote: > Hi Robert, > > I need to clone update callback of stateattribute, i tried to add the > stateattribute::callback in copyop but it produces a circular > dependancy. So we would need to create a new file StateAttributeCallback > like for NodeCallback > > Other question would you prefer to separate the flag in copyop from the > DEEP_COPY_NODECALLBACKS eg DEEP_COPY_STATEATTRIBUTECALLBACK > > I guess i will have to maybe do the same thing for stateset later. So > the question can be extended for stateset too. > > What do you think ? > > Cheers, > Cedric > > -- > +33 (0) 6 63 20 03 56 Cedric Pinson mailto:[email protected] > http://www.plopbyte.net > > > _______________________________________________ > 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
