From eee78431f08c89e0eb96e6516aca6980702658d3 Mon Sep 17 00:00:00 2001 From: azv Date: Tue, 27 Dec 2016 10:12:40 +0300 Subject: [PATCH] Add dumping named of copied entities in the sketch (issue #1924) --- src/SketchAPI/SketchAPI_Mirror.cpp | 2 +- src/SketchAPI/SketchAPI_Rotation.cpp | 2 +- src/SketchAPI/SketchAPI_Translation.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/SketchAPI/SketchAPI_Mirror.cpp b/src/SketchAPI/SketchAPI_Mirror.cpp index 9e6f40ed9..bab344375 100644 --- a/src/SketchAPI/SketchAPI_Mirror.cpp +++ b/src/SketchAPI/SketchAPI_Mirror.cpp @@ -70,7 +70,7 @@ void SketchAPI_Mirror::dump(ModelHighAPI_Dumper& theDumper) const for (; anIt != aList.end(); ++anIt) { if (anIt != aList.begin()) theDumper << ", "; - theDumper << theDumper.name((*anIt)->feature(), false); + theDumper << (*anIt)->feature(); } theDumper << "] = " << theDumper.name(aBase) << ".mirrored()" << std::endl; diff --git a/src/SketchAPI/SketchAPI_Rotation.cpp b/src/SketchAPI/SketchAPI_Rotation.cpp index 2dc0e87d9..5215bbf5b 100644 --- a/src/SketchAPI/SketchAPI_Rotation.cpp +++ b/src/SketchAPI/SketchAPI_Rotation.cpp @@ -87,7 +87,7 @@ void SketchAPI_Rotation::dump(ModelHighAPI_Dumper& theDumper) const for (; anIt != aList.end(); ++anIt) { if (anIt != aList.begin()) theDumper << ", "; - theDumper << theDumper.name((*anIt)->feature(), false); + theDumper << (*anIt)->feature(); } theDumper << "] = " << theDumper.name(aBase) << ".rotated()" << std::endl; diff --git a/src/SketchAPI/SketchAPI_Translation.cpp b/src/SketchAPI/SketchAPI_Translation.cpp index 2b69f37ea..fafc9ee4f 100644 --- a/src/SketchAPI/SketchAPI_Translation.cpp +++ b/src/SketchAPI/SketchAPI_Translation.cpp @@ -87,7 +87,7 @@ void SketchAPI_Translation::dump(ModelHighAPI_Dumper& theDumper) const for (; anIt != aList.end(); ++anIt) { if (anIt != aList.begin()) theDumper << ", "; - theDumper << theDumper.name((*anIt)->feature(), false); + theDumper << (*anIt)->feature(); } theDumper << "] = " << theDumper.name(aBase) << ".translated()" << std::endl; -- 2.39.2