Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a68d1c0
)
PAL13330( When mesh generation does not success, trace where )
author
eap
<eap@opencascade.com>
Tue, 10 Apr 2007 14:09:51 +0000
(14:09 +0000)
committer
eap
<eap@opencascade.com>
Tue, 10 Apr 2007 14:09:51 +0000
(14:09 +0000)
+ if( isStudyLocked() )
+ return false;
src/SMESHGUI/SMESHGUI_MakeNodeAtPointDlg.cxx
patch
|
blob
|
history
diff --git
a/src/SMESHGUI/SMESHGUI_MakeNodeAtPointDlg.cxx
b/src/SMESHGUI/SMESHGUI_MakeNodeAtPointDlg.cxx
index 4f076c55145e8b629f1667a8f4ff56e3e92c2f8c..b21ad3260cb676f1668fe1d39c308d672a133d16 100644
(file)
--- 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" ) );