Closed jingjianjie closed 2 years ago
Please search the osg-users group for an explanation,
On Thu, 25 Aug 2022 at 08:20, jingjianjie @.***> wrote:
I'm curious about the public method addChild() of Gourp class. It can be called by geode instance which should be a "leaf" why the framework is designed as so? why not prevent this behaviour? thanks~
— Reply to this email directly, view it on GitHub https://github.com/openscenegraph/OpenSceneGraph/issues/1163, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABUA27KIHE5UHGZXBTCNVLV24NCTANCNFSM57R6HUBA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
I'm curious about the public method
addChild()
ofGourp
class. It can be called bygeode
instance which defined as "leaf"why allow this ambiguous semantic (i.e.
geode->addchild()
)? why not prevent this behaviour? why the framework ofNode-group-child
is designed as so? thanks if anyone help me!~