From fd244b2bd227acfa2e15462e97a5dacf7955fbad Mon Sep 17 00:00:00 2001 From: ouv Date: Wed, 18 Apr 2012 14:31:20 +0000 Subject: [PATCH] Bug IPAL22910: TC650: chamfer on edge gives fatal error --- src/OperationGUI/OperationGUI_ChamferDlg.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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()),