Skip to content

Commit

Permalink
0000942: Crash when 2xdouble-click on part
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Jan 5, 2013
1 parent b6f284f commit f4ff92c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Gui/ViewProviderGeometryObject.cpp
Expand Up @@ -291,7 +291,10 @@ void ViewProviderGeometryObject::unsetEdit(int ModNum)
SoCenterballManip * manip = static_cast<SoCenterballManip*>(path->getTail());
SoNodeSensor* sensor = reinterpret_cast<SoNodeSensor*>(manip->getUserData());
// #0000939: Pressing Escape while pivoting a box crashes
manip->getDragger()->grabEventsCleanup();
// #0000942: Crash when 2xdouble-click on part
SoDragger* dragger = manip->getDragger();
if (dragger && dragger->getHandleEventAction())
dragger->grabEventsCleanup();

// detach sensor
sensor->detach();
Expand Down

0 comments on commit f4ff92c

Please sign in to comment.