Salome HOME
0020693: EDF 1288 SMESH: Problem to recompute a mesh with a sub-mesh and a conversion...
authoreap <eap@opencascade.com>
Thu, 13 May 2010 06:20:35 +0000 (06:20 +0000)
committereap <eap@opencascade.com>
Thu, 13 May 2010 06:20:35 +0000 (06:20 +0000)
commit38824d786e3c3f5a304d12ca333233ae69871559
tree6490f929f1173d491b72f224bc93db479554b7db
parenta5103fc7f79b2df05173f24664a686a9df95a110
0020693: EDF 1288 SMESH: Problem to recompute a mesh with a sub-mesh and a conversion linear-quadratic
+    if ( myMesh->HasModificationsToDiscard() && // issue 0020693
+         SUIT_MessageBox::question( desktop(), tr( "SMESH_WARNING" ),
+                                    tr( "FULL_RECOMPUTE_QUESTION" ),
+                                    tr( "SMESH_BUT_YES" ), tr( "SMESH_BUT_NO" ), 1, 0 ) == 0 )
+      myMesh->Clear();
src/SMESHGUI/SMESHGUI_ComputeDlg.cxx