From 642f5a42a76e1b6217074764b7c072eb4611363e Mon Sep 17 00:00:00 2001 From: eap Date: Tue, 10 Apr 2007 14:09:51 +0000 Subject: [PATCH] PAL13330( When mesh generation does not success, trace where ) + if( isStudyLocked() ) + return false; --- src/SMESHGUI/SMESHGUI_MakeNodeAtPointDlg.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/SMESHGUI/SMESHGUI_MakeNodeAtPointDlg.cxx b/src/SMESHGUI/SMESHGUI_MakeNodeAtPointDlg.cxx index 4f076c551..b21ad3260 100644 --- a/src/SMESHGUI/SMESHGUI_MakeNodeAtPointDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_MakeNodeAtPointDlg.cxx @@ -348,6 +348,9 @@ void SMESHGUI_MakeNodeAtPointOp::stopOperation() bool SMESHGUI_MakeNodeAtPointOp::onApply() { + if( isStudyLocked() ) + return false; + if ( !myMeshActor ) { SUIT_MessageBox::warn1( dlg(), tr( "SMESH_WRN_WARNING" ), tr("INVALID_MESH"), tr( "SMESH_BUT_OK" ) ); -- 2.39.2