Hi Chris,

On 10/5/06, Chris Hanson <[EMAIL PROTECTED]> wrote:
   I did a quick grep.

   I have a custom event handler with this code in it:

         virtual void accept(osgGA::GUIEventHandlerVisitor& v)
         {
             v.visit(*this);
         }

   I'm sure I copied this from somewhere else, as I'm not clear on what I would use a
GUIEventHandlerVisitor for. Am I gonna be in trouble here?

You almost certainly copy and pasted it.  This is part of the redundent code that you can safely delete as I have already done for the OSG examples.

To help keep apps compiling I'll leave a stub for osgGA::GUIEventHandlerVisitor into include/osg/GUIEventHandler and wrap it in a #ifdef USE_DEPRECATED_API, it'll only be a no op so don't expect it to do any.  The original code was effectively a no op anyway so no change there.

Robert.


_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to