]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Add dumping named of copied entities in the sketch (issue #1924)
authorazv <azv@opencascade.com>
Tue, 27 Dec 2016 07:12:40 +0000 (10:12 +0300)
committerazv <azv@opencascade.com>
Tue, 27 Dec 2016 11:52:15 +0000 (14:52 +0300)
src/SketchAPI/SketchAPI_Mirror.cpp
src/SketchAPI/SketchAPI_Rotation.cpp
src/SketchAPI/SketchAPI_Translation.cpp

index 9e6f40ed969c1db3fcaba1a6d422d1829f9f73d6..bab34437557489ecef4ce72622ee4ad8af52a349 100644 (file)
@@ -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;
 
index 2dc0e87d9ff4b34fdbff37b586d7febedfe69eb4..5215bbf5b18cf056ee38ad1282a8e87c48d72c64 100644 (file)
@@ -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;
 
index 2b69f37eafd64cb9e5a63357711294527d31686c..fafc9ee4f3c790169fd029884ddb192c7fe1bf1b 100644 (file)
@@ -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;