From: jfa Date: Tue, 14 Aug 2007 10:59:55 +0000 (+0000) Subject: NPAL16631: EDF281: Suppress automatic update if mesh computation failed because of... X-Git-Tag: T32x_16Aug2007_16h00m X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b4c2af53c54fd71be6ff04b881d7f2741f9b0ef1;p=modules%2Fsmesh.git NPAL16631: EDF281: Suppress automatic update if mesh computation failed because of lack of memory. --- diff --git a/src/SMESHGUI/SMESHGUI_ComputeDlg.cxx b/src/SMESHGUI/SMESHGUI_ComputeDlg.cxx index 7ac3ba8a1..6c856bb78 100644 --- a/src/SMESHGUI/SMESHGUI_ComputeDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_ComputeDlg.cxx @@ -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) {