From ff4d5d0f42cf5d24b86b2bd2b6e1f58e74f52032 Mon Sep 17 00:00:00 2001 From: mpv Date: Wed, 24 May 2017 15:07:40 +0300 Subject: [PATCH] Minor corrections: coding rules --- src/Model/Model_ResultConstruction.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Model/Model_ResultConstruction.cpp b/src/Model/Model_ResultConstruction.cpp index 18d3cdcf8..a13c38643 100644 --- a/src/Model/Model_ResultConstruction.cpp +++ b/src/Model/Model_ResultConstruction.cpp @@ -227,9 +227,7 @@ std::string fullName(CompositeFeaturePtr theComposite, const TopoDS_Shape& theSu } std::stringstream aName; // #1839 : do not store name of the feature in the tree, since this name could be changed - //aName<name(); - if (theSubShape.ShapeType() != TopAbs_COMPOUND) { // compound means the whole result for construction - //aName<<"/"; + if (theSubShape.ShapeType() != TopAbs_COMPOUND) { // compound means the whole construction result if (theSubShape.ShapeType() == TopAbs_FACE) aName<<"Face"; else if (theSubShape.ShapeType() == TopAbs_WIRE) aName<<"Wire"; else if (theSubShape.ShapeType() == TopAbs_EDGE) aName<<"Edge"; -- 2.39.2