PAL13330( When mesh generation does not success, trace where )

+  if( isStudyLocked() )
+    return false;
This commit is contained in:
eap 2007-04-10 14:09:51 +00:00
parent a68d1c0471
commit 642f5a42a7

View File

@ -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" ) );