From: Murashov G. <Mur...@se...> - 2008-07-23 08:31:10
|
Hi. Could you tell me, please, how function openvrml::node_type::create_node() is supposed to be used? I'm asking, because I'm little bit confused that one get shared_ptr< scope > as parameter and openvrml::node use shared_ptr inside, but node::scope() and scene::root_scope() return scope& and scope*. Is it bug? Another question: everywhere, working with object openvrml::node, intrusive_ptr is used, but openvrml::scope::find_node() returns openvrml::node*. Although in this case safe work is possible, I think that it is not in right way. Gleb. |