]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fixed problems of the names of sketch entities, conflicting with projection results...
authormpv <mpv@opencascade.com>
Wed, 8 Feb 2017 12:36:38 +0000 (15:36 +0300)
committermpv <mpv@opencascade.com>
Wed, 8 Feb 2017 12:36:38 +0000 (15:36 +0300)
src/SketchAPI/SketchAPI_Projection.cpp

index 584fa67512dd132b4c7a0e174abe5b7c5a2bacbc..e3c236fd3ab626dd76ed81f524ab64aa750c849d 100644 (file)
@@ -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;
 }