Hi Mattias,

yes, you are right. My bad. Geode is indeed a Group now.

Thanks a lot

Nick

On Sun, Jan 18, 2015 at 10:33 AM, Mattias Helsing <helsin...@gmail.com>
wrote:

> Hi Nick,
>
> is it possible that you have different versions of the osg source on
> your computers. In the trunk a Geode is-a Group since a couple of
> months or so. Can you verify this ?
>
> cheers
> Mattias
>
> On Sun, Jan 18, 2015 at 9:15 AM, Trajce Nikolov NICK
> <trajce.nikolov.n...@gmail.com> wrote:
> > Hi Community,
> >
> > I have this case:
> >
> > osg::ref_ptr<osg::Node> node  = new osg::Geode;
> > osg::Group* group = dynamic_cast<osg::Group*>(node.get());
> > osg::Geode* geode = dynamic_casy<osg::Geode*>(node.get())
> >
> > what is strange is that both are valid, but it should fail on the Group
> > case. This was testted on Linux and Windows, and it works as it should,
> only
> > strange on Mac
> >
> > Thanks for any input as always
> >
> > Cheers,
> > Nick
> > --
> > trajce nikolov nick
> >
> > _______________________________________________
> > osg-users mailing list
> > osg-users@lists.openscenegraph.org
> >
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> >
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>



-- 
trajce nikolov nick
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to