Salome HOME
NPAL16631: EDF281: Suppress automatic update if mesh computation failed because of...
[modules/smesh.git] / 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) {