Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
FreeCAD
FreeCAD
Commits
f4ff92ce
Commit
f4ff92ce
authored
Jan 05, 2013
by
wmayer
Browse files
0000942: Crash when 2xdouble-click on part
parent
b6f284f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Gui/ViewProviderGeometryObject.cpp
View file @
f4ff92ce
...
...
@@ -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
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment