Hi Sven,
> Ok, that's it... I forgot, not every node has a core.
> So it's a good idea to test for node core prior to call getType():
>
> if( nod->getCore() == NullFC )
> {
> return Action::Continue;
> }
yes, but you still might want to make sure that every node actually has
a core (if it does not serve a specific purpose just use a Group core),
because otherwise the RenderAction will complain about. Strictly
speaking it is considered an error to have a node without a core in the
scene, although it's sometimes silently ignored.
Hope it helps,
Carsten
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users