add copy code. Build completed

This commit is contained in:
Viktor UZLOV 2021-02-05 20:04:09 +03:00
parent b78dbc1817
commit 5179ca5621

View File

@ -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;