Thanks J.P., fix now merged and submitted to svn/trunk.

On 12 January 2012 12:17, J.P. Delport <[email protected]> wrote:
> Hi,
>
> this fall-through had me scratching my head for a while...
>
> It made InteractiveImageHandler eat keypresses outside its image.
>
> rgds
> jp
>
> Index: ViewerEventHandlers.cpp
> ===================================================================
> --- ViewerEventHandlers.cpp     (revision 12909)
> +++ ViewerEventHandlers.cpp     (working copy)
> @@ -922,6 +922,7 @@
>             {
>                 return _image->sendKeyEvent(ea.getKey(),
> ea.getEventType()==osgGA::GUIEventAdapter::KEYDOWN);
>             }
> +            break;
>         }
>         case (osgGA::GUIEventAdapter::RESIZE):
>         {
> @@ -932,6 +933,7 @@
>                 resize(ea.getWindowWidth(), ea.getWindowHeight());
>                 return true;
>             }
> +            break;
>         }
>
>         default:
>
> --
> This message is subject to the CSIR's copyright terms and conditions, e-mail
> legal notice, and implemented Open Document Format (ODF) standard. The full
> disclaimer details can be found at http://www.csir.co.za/disclaimer.html.
>
> This message has been scanned for viruses and dangerous content by
> MailScanner, and is believed to be clean.
>
>
> _______________________________________________
> osg-submissions mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to