[osg-users] Bug in RenderBin (?)

Robert Osfield robert.osfield at gmail.com
Thu Mar 12 04:17:36 PDT 2009


Hi David,

On Thu, Mar 12, 2009 at 10:46 AM, David Callu <ledocc at gmail.com> 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.



More information about the osg-users mailing list