]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/Model/Model_ResultField.cpp
Salome HOME
Issue #24357: Export mesh with field on vertices
[modules/shaper.git] / src / Model / Model_ResultField.cpp
index 837f920003a7f0f635dbf15a7da8d15f8de66a4a..e60919a38bfbda0f25e738885f2fcc16ec233387 100644 (file)
@@ -90,7 +90,7 @@ std::shared_ptr<GeomAPI_Shape> Model_ResultField::shape()
         for(int a = aList->size() - 1; a >= 0; a--) {
           std::shared_ptr<GeomAPI_Shape> aSelection = aList->value(a)->value();
           if (aSelection && !aSelection->isNull()) {
-            aSubs.push_back(aSelection);
+            aSubs.push_front(aSelection);
           }
         }
       }