diff --git a/src/Gui/View3DInventorViewer.cpp b/src/Gui/View3DInventorViewer.cpp index ba853256cd..9ff80e2197 100644 --- a/src/Gui/View3DInventorViewer.cpp +++ b/src/Gui/View3DInventorViewer.cpp @@ -337,12 +337,13 @@ public: SoMotion3Event* motion3Event = new SoMotion3Event; motion3Event->setTranslation(translationVector); motion3Event->setRotation(xRot * yRot * zRot); + motion3Event->setPosition(this->mousepos); return motion3Event; } return NULL; - }; + } }; /** \defgroup View3D 3D Viewer