//
// $Id$
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include "FGMouseInput.hxx"
#include "Main/globals.hxx"
+using std::ios_base;
+
void ActivePickCallbacks::init( int b, const osgGA::GUIEventAdapter* ea )
{
// Get the list of hit callbacks. Take the first callback that
}
if (mode.pass_through) {
+ // remove once PUI uses standard picking mechanism
if (0 <= x && 0 <= y && puMouse(b, updown, x, y))
return;
- else if (0 <= x && 0 <= y && (globals->get_current_panel() != 0) &&
- globals->get_current_panel()->getVisibility() &&
- globals->get_current_panel()->doMouseAction(b, updown, x, y))
- return;
- else if (0 <= x && 0 <= y && fgHandle3DPanelMouseEvent(b, updown, x, y))
- return;
else {
// pui didn't want the click event so compute a
// scenegraph intersection point corresponding to the mouse click