From 5fd2bd225fdd6961b6645528a6c5a0dc2dd49641 Mon Sep 17 00:00:00 2001 From: James Turner Date: Mon, 4 Mar 2013 23:11:26 +0000 Subject: [PATCH] Support motion-tracking in pick callbacks. --- simgear/scene/util/SGPickCallback.hxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/simgear/scene/util/SGPickCallback.hxx b/simgear/scene/util/SGPickCallback.hxx index 23bc747d..5dac9524 100644 --- a/simgear/scene/util/SGPickCallback.hxx +++ b/simgear/scene/util/SGPickCallback.hxx @@ -58,6 +58,9 @@ public: virtual void buttonReleased(void) { } + virtual void mouseMoved(const osgGA::GUIEventAdapter* event) + { } + virtual bool hover(const osg::Vec2d& windowPos, const Info& info) { return false; } -- 2.39.5