From: azv Date: Wed, 13 Mar 2019 02:42:53 +0000 (+0300) Subject: Fix compilation error in SHAPERGUI_DataModel: use default types of dumped data. X-Git-Tag: V9_3_0b1~3^2~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=32956d7a4878c378844aa3a88422aff41dbdc9e7;p=modules%2Fshaper.git Fix compilation error in SHAPERGUI_DataModel: use default types of dumped data. --- diff --git a/src/SHAPERGUI/SHAPERGUI_DataModel.cpp b/src/SHAPERGUI/SHAPERGUI_DataModel.cpp index b7ff690e3..b08f83b80 100644 --- a/src/SHAPERGUI/SHAPERGUI_DataModel.cpp +++ b/src/SHAPERGUI/SHAPERGUI_DataModel.cpp @@ -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())) {