From e783274518ed17ac6350a3d5643f9931f12b15b1 Mon Sep 17 00:00:00 2001 From: mpv Date: Mon, 26 Nov 2018 13:58:51 +0300 Subject: [PATCH] For for the the problem of lower/upper case in the test name (reproduced on Linux). --- src/FeaturesPlugin/CMakeLists.txt | 6 +++--- src/Model/Model_AttributeSelection.cpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/FeaturesPlugin/CMakeLists.txt b/src/FeaturesPlugin/CMakeLists.txt index f20dcaf7a..3f6299fd7 100644 --- a/src/FeaturesPlugin/CMakeLists.txt +++ b/src/FeaturesPlugin/CMakeLists.txt @@ -343,9 +343,9 @@ ADD_UNIT_TESTS(TestExtrusion.py Test2592.py Test2588.py Test1467.py - TestPartitionSubCompsolidWithCompsolid1.py - TestPartitionSubCompsolidWithCompsolid2.py - TestPartitionSubCompsolidWithCompsolid3.py + TestPartitionSubCompsolidWithCompSolid1.py + TestPartitionSubCompsolidWithCompSolid2.py + TestPartitionSubCompsolidWithCompSolid3.py TestPartitionSubCompsolidWithSolid1.py TestPartitionSubCompsolidWithSolid2.py TestPartitionSubCompsolidWithSolid3.py diff --git a/src/Model/Model_AttributeSelection.cpp b/src/Model/Model_AttributeSelection.cpp index 3d97c91c9..58ba6921b 100644 --- a/src/Model/Model_AttributeSelection.cpp +++ b/src/Model/Model_AttributeSelection.cpp @@ -781,7 +781,7 @@ std::string Model_AttributeSelection::namingName(const std::string& theDefaultNa Selector_Selector aSelector(aSelLab, baseDocumentLab()); std::string aResult; - if (aSelector.restore(aCont->shape()->impl())) + if (aCont->shape().get() && aSelector.restore(aCont->shape()->impl())) aResult = aSelector.name(this); if (aCenterType != NOT_CENTER) { aResult += centersMap()[aCenterType]; -- 2.39.2