From 4fedd59c7269040b6570aa96202530703a7f2d97 Mon Sep 17 00:00:00 2001 From: mpv Date: Wed, 8 Feb 2017 15:36:38 +0300 Subject: [PATCH] Fixed problems of the names of sketch entities, conflicting with projection results names. Reproduced on robinet_cage_siege_sans_partitions.py file checking dump. --- src/SketchAPI/SketchAPI_Projection.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/SketchAPI/SketchAPI_Projection.cpp b/src/SketchAPI/SketchAPI_Projection.cpp index 584fa6751..e3c236fd3 100644 --- a/src/SketchAPI/SketchAPI_Projection.cpp +++ b/src/SketchAPI/SketchAPI_Projection.cpp @@ -101,6 +101,5 @@ void SketchAPI_Projection::dump(ModelHighAPI_Dumper& theDumper) const // Dump created line feature AttributeRefAttrPtr aProjectedRefAttr = projectedFeature(); FeaturePtr aProjectedFeature = ModelAPI_Feature::feature(aProjectedRefAttr->object()); - std::string aProjectedName = theDumper.name(aProjectedFeature, false); - theDumper << aProjectedName << " = " << theDumper.name(aBase) << ".createdFeature()" << std::endl; + theDumper << aProjectedFeature << " = " << theDumper.name(aBase) << ".createdFeature()" << std::endl; } -- 2.39.2