Salome HOME
NPAL16631: EDF281: Suppress automatic update if mesh computation failed because of... T32x_16Aug2007_16h00m
authorjfa <jfa@opencascade.com>
Tue, 14 Aug 2007 10:59:55 +0000 (10:59 +0000)
committerjfa <jfa@opencascade.com>
Tue, 14 Aug 2007 10:59:55 +0000 (10:59 +0000)
src/SMESHGUI/SMESHGUI_ComputeDlg.cxx

index 7ac3ba8a1d7760b3d24f88a3a3b3f9db2618768d..6c856bb78eee8556423c4e540e2abcf25500d51e 100644 (file)
@@ -845,7 +845,9 @@ void SMESHGUI_ComputeOp::startOperation()
         update( UF_ObjBrowser | UF_Model );
 
         // SHOW MESH
-        if ( getSMESHGUI()->automaticUpdate() ) {
+        // NPAL16631: if ( getSMESHGUI()->automaticUpdate() ) {
+        if ( !memoryLack && getSMESHGUI()->automaticUpdate() ) // NPAL16631
+        {
           try {
             SVTK_ViewWindow* aVTKView = SMESH::GetViewWindow(getSMESHGUI(), true);
             if (aVTKView) {