Hello Andreas, Andreas Halm wrote: > A Node-derived class created via fcd contains this code > > virtual FieldContainer *createAspectCopy(FieldContainer *pRefAspect) const; > > while its base class contains > > virtual Node *createAspectCopy(const FieldContainer *pRefAspect) const; > > whats the deal?
Node is not generated from an .fcd, but hand written, so accidentally covariant return types were used there and not in the generated code. I changed Node to also return just a FieldContainer*, r2302. > Version is r2279. Is it a bug or is it forbidden/unusual to > derive from Node? I'm not aware of anyone deriving from Node before, there may be code that assumes nothing derives from Node, although off the top of my head I could not point at anything in particular. > In my case it seems to make sense as the functionality I > am implementing depends only on the bounding volume and there is no data to > sync - only the attached NodeCore (which would be a Transform NodeCore) > would be synched. hm, maybe. What do you want to do? ;) Cheers, Carsten ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Opensg-users mailing list Opensg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensg-users