Two minor fixes
This commit is contained in:
committed by
Stefan Tröger
parent
4d674831d3
commit
7174a259f0
@@ -4563,13 +4563,13 @@ void ViewProviderSketch::unsetEdit(int ModNum)
|
||||
|
||||
delete edit;
|
||||
edit = 0;
|
||||
}
|
||||
|
||||
try {
|
||||
// and update the sketch
|
||||
getSketchObject()->getDocument()->recompute();
|
||||
}
|
||||
catch (...) {
|
||||
try {
|
||||
// and update the sketch
|
||||
getSketchObject()->getDocument()->recompute();
|
||||
}
|
||||
catch (...) {
|
||||
}
|
||||
}
|
||||
|
||||
// clear the selection and set the new/edited sketch(convenience)
|
||||
|
||||
Reference in New Issue
Block a user