From: ouv Date: Wed, 18 Apr 2012 14:31:20 +0000 (+0000) Subject: Bug IPAL22910: TC650: chamfer on edge gives fatal error X-Git-Tag: TRIPOLI_323~20 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=fd244b2bd227acfa2e15462e97a5dacf7955fbad;p=modules%2Fgeom.git Bug IPAL22910: TC650: chamfer on edge gives fatal error --- diff --git a/src/OperationGUI/OperationGUI_ChamferDlg.cxx b/src/OperationGUI/OperationGUI_ChamferDlg.cxx index d20d286d5..f2ec70034 100644 --- a/src/OperationGUI/OperationGUI_ChamferDlg.cxx +++ b/src/OperationGUI/OperationGUI_ChamferDlg.cxx @@ -489,7 +489,8 @@ void OperationGUI_ChamferDlg::SelectionIntoArgument() } // clear selection - if (aCurrFocus != Faces && aCurrFocus != Edges) { + if (aCurrFocus != Face1 && aCurrFocus != Face2 && + aCurrFocus != Faces && aCurrFocus != Edges) { disconnect(myGeomGUI->getApp()->selectionMgr(), 0, this, 0); myGeomGUI->getApp()->selectionMgr()->clearSelected(); connect(myGeomGUI->getApp()->selectionMgr(), SIGNAL(currentSelectionChanged()),