Put the dynamic_cast<T> inside the method. On 4/15/2011 10:53 AM, Sukender wrote: > Hi Peter, > > Well observed. We'll add methods to iterate and a pointer to object. > > But we just spotted a flaw in our design: we wrote some virtual templated > methods (which is impossible of course)... Any idea on how to return a "T*" > in ComponentContainer::findFirstMeta()? > > Sukender -- Peter Amstutz Senior Software Engineer Technology Solutions Experts Natick, MA 02131
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org