]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
add copy code. Build completed
authorViktor UZLOV <vuzlov@debian10-01.nnov.opencascade.com>
Fri, 5 Feb 2021 17:04:09 +0000 (20:04 +0300)
committerViktor UZLOV <vuzlov@debian10-01.nnov.opencascade.com>
Fri, 5 Feb 2021 17:04:09 +0000 (20:04 +0300)
src/SMESHGUI/SMESHGUI_ComputeDlg.cxx

index f84027be1090801b8e9d811f4373e575ebee5f98..6844cdea9debd56c8f579c8308677635e0ac7802 100644 (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;