diff --git a/src/Gui/ViewProviderGeometryObject.cpp b/src/Gui/ViewProviderGeometryObject.cpp index 4b5b33c3a..192d685e4 100644 --- a/src/Gui/ViewProviderGeometryObject.cpp +++ b/src/Gui/ViewProviderGeometryObject.cpp @@ -290,6 +290,8 @@ void ViewProviderGeometryObject::unsetEdit(int ModNum) // The manipulator has a sensor as user data and this sensor contains the view provider SoCenterballManip * manip = static_cast(path->getTail()); SoNodeSensor* sensor = reinterpret_cast(manip->getUserData()); + // #0000939: Pressing Escape while pivoting a box crashes + manip->getDragger()->grabEventsCleanup(); // detach sensor sensor->detach();