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
<[email protected]> 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
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to