From: Viktor UZLOV Date: Fri, 5 Feb 2021 17:04:09 +0000 (+0300) Subject: add copy code. Build completed X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5179ca56218d497440c24527bf089424057d8c84;p=modules%2Fsmesh.git add copy code. Build completed --- diff --git a/src/SMESHGUI/SMESHGUI_ComputeDlg.cxx b/src/SMESHGUI/SMESHGUI_ComputeDlg.cxx index f84027be1..6844cdea9 100644 --- a/src/SMESHGUI/SMESHGUI_ComputeDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_ComputeDlg.cxx @@ -2229,7 +2229,9 @@ void SMESHGUI_BaseComputeOp::evaluateMesh() SUIT_OverrideCursor aWaitCursor; try { OCC_CATCH_SIGNALS; - aRes = gen->Evaluate(myMesh, myMainShape); + SMESH::long_array_var tmp = gen->Evaluate(myMesh, myMainShape); + for ( int i = 0; i < tmp->length(); ++i) + aRes[ i ] = tmp [ i ]; } catch(const SALOME::SALOME_Exception & S_ex){ memoryLack = true;