[osg-users] Change color of node read from dxf file

Alberto Luaces aluaces at udc.es
Wed Nov 21 01:06:04 PST 2018


Chris Hanson writes:

> I dunno man, your code is making my head explode. I don't think Geode HAS an addChild method, so I don't even know why what you're doing would compile.
>
> I don't think I can help any further. I'm missing something or you are.
>

Hi, Chris, Geode was subclassed from Group some time ago, see

https://github.com/openscenegraph/OpenSceneGraph/commit/3dde165f140ab5f973e50709235cf40c4862bc17

I don't remember exactly the rationale, but it was about making the code
more straightforward.

-- 
Alberto



More information about the osg-users mailing list