From 081a45f43c7abe85af9c2bdc900438a240197e70 Mon Sep 17 00:00:00 2001 From: azv Date: Tue, 13 Jul 2021 08:50:01 +0300 Subject: [PATCH] Issue #24357: Export mesh with field on vertices Correct the order of field results --- src/Model/Model_ResultField.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Model/Model_ResultField.cpp b/src/Model/Model_ResultField.cpp index 837f92000..e60919a38 100644 --- a/src/Model/Model_ResultField.cpp +++ b/src/Model/Model_ResultField.cpp @@ -90,7 +90,7 @@ std::shared_ptr Model_ResultField::shape() for(int a = aList->size() - 1; a >= 0; a--) { std::shared_ptr aSelection = aList->value(a)->value(); if (aSelection && !aSelection->isNull()) { - aSubs.push_back(aSelection); + aSubs.push_front(aSelection); } } } -- 2.39.2