I am trying to write a function that allows me to "point click, pick and
Drag"  function for my application.

 

basically when I point to an object, the object is selected until I hold the
left mouse key down.  

if I move the mouse the object should move to teh new mouse position, but
only when the mouse button is down.

 

The problems that as soon as I click the button, that's the last
osgGA::GUIEventAdapter::MOVE that I get

 

 

                  case osgGA::GUIEventAdapter::MOVE:

                  {

                        static int xxx;

                        xxx ++;

                        dTrace (("%d\n", xxx));

 

                        MouseMove(ea, aa);

                        break;

                  }

 

 

Is there an option so the I keep getting more Move Events even when any
button is hold down?

 

Thanks.

Julio

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to