[osg-users] GUIEventHandler called twice - possible bug(s)
Riccardo Corsi
riccardo.corsi at kairos3d.it
Mon Oct 10 04:17:12 PDT 2016
Hi Robert,
both double call and crash fixed on my side as well.
Now that one can safely implement a callback by deriving directly from
osg::Callback, I think most users should go that way for their new code.
If that's the case, the not-very-intuitive path of implementing operator()
rather than run() in the NodeCallback should be a minor issue.
Maybe a note in the comments suggesting to derive from osg::Callback rather
than the legacy classes could be worth it?
Thank you,
Riccardo
On Thu, Oct 6, 2016 at 7:30 PM, Robert Osfield <robert.osfield at gmail.com>
wrote:
> Hi Riccardo,
>
> I have found the cause of the double call, fixed it and have now
> checked in this fix and the other fixes to event callback handling.
> Changes checked into OSG git master.
>
> Could you test them out on your application to make sure that things
> are now behaving themselves.
>
> Thanks,
> Robert
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20161010/8e5158eb/attachment-0003.htm>
More information about the osg-users
mailing list