From: mpv Date: Wed, 8 Feb 2017 12:36:38 +0000 (+0300) Subject: Fixed problems of the names of sketch entities, conflicting with projection results... X-Git-Tag: V_2.7.0~284^2~6 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4fedd59c7269040b6570aa96202530703a7f2d97;p=modules%2Fshaper.git Fixed problems of the names of sketch entities, conflicting with projection results names. Reproduced on robinet_cage_siege_sans_partitions.py file checking dump. --- 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; }