From b4c2af53c54fd71be6ff04b881d7f2741f9b0ef1 Mon Sep 17 00:00:00 2001 From: jfa Date: Tue, 14 Aug 2007 10:59:55 +0000 Subject: [PATCH] NPAL16631: EDF281: Suppress automatic update if mesh computation failed because of lack of memory. --- src/SMESHGUI/SMESHGUI_ComputeDlg.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) { -- 2.39.2