Hi David, On Thu, Mar 12, 2009 at 10:46 AM, David Callu <[email protected]> wrote: > What about the case of register two prototype with the same name. There are > any warning message for the user. > I fix this like that
There is only ever supposed to be one prototype per binName, and the std::map<binname,prototype> ensures this is the case. If you attach two different bins under the same binName then the first will be replaced by the second one and the first one will automatically be unref'd. Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

