Am 31.05.2016 um 09:27 schrieb Ralf Habacker:
> else
> {
> if (typeid(node)!=typeid(osg::Node))
> {
> OSG_WARN<<"Unknown node in Group::write(),
> className()="<<node->className()<<std::endl;
> }
>
> ((ive::Node*)(node))->write(this);
>
> -> node is surely no osg:Node and also having [1] in mind that osg::xx
s/osg::Node/ive::Node/g
> matches ive::xx, this will crash
>
> In the crash case node is of type osg::Group
To be more specific. ive::Group is derived from osg::Group, so in the
above lokation the cast need to be ive::Group, not ive::Node.
Ralf
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org