]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
For for the the problem of lower/upper case in the test name (reproduced on Linux).
authormpv <mpv@opencascade.com>
Mon, 26 Nov 2018 10:58:51 +0000 (13:58 +0300)
committermpv <mpv@opencascade.com>
Mon, 26 Nov 2018 10:59:22 +0000 (13:59 +0300)
src/FeaturesPlugin/CMakeLists.txt
src/Model/Model_AttributeSelection.cpp

index f20dcaf7a573a0b39d3e7d27cbb9eca5e85b0999..3f6299fd7c9127eca53d9399445e647c2868f85d 100644 (file)
@@ -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
index 3d97c91c9066df87325328677f41cbbe59989750..58ba6921bba8b64c266b33443e67fbc1f142bd8f 100644 (file)
@@ -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<TopoDS_Shape>()))
+  if (aCont->shape().get() && aSelector.restore(aCont->shape()->impl<TopoDS_Shape>()))
     aResult = aSelector.name(this);
   if (aCenterType != NOT_CENTER) {
     aResult += centersMap()[aCenterType];