]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix compilation error in SHAPERGUI_DataModel: use default types of dumped data.
authorazv <azv@opencascade.com>
Wed, 13 Mar 2019 02:42:53 +0000 (05:42 +0300)
committerazv <azv@opencascade.com>
Wed, 13 Mar 2019 02:42:53 +0000 (05:42 +0300)
src/SHAPERGUI/SHAPERGUI_DataModel.cpp

index b7ff690e3addb6a70f6b878687cff0b1ee70c136..b08f83b80c5742281ea38b9927e328fda5f22d81 100644 (file)
@@ -194,10 +194,6 @@ bool SHAPERGUI_DataModel::dumpPython(const QString& thePath, CAM_Study* theStudy
     if (aAttr.get())
       aAttr->setValue(".py");
 
-    AttributeStringPtr aTypeAttr = aFeature->string(ExchangePlugin_Dump::SELECTION_TYPE_ID());
-    if (aTypeAttr.get())
-      aTypeAttr->setValue(ExchangePlugin_Dump::TOPOLOGICAL_NAMING_DUMP_ID());
-
     ModelAPI_Session::get()->finishOperation();
 
     if (QFile::exists(aFileName.c_str())) {