From 32956d7a4878c378844aa3a88422aff41dbdc9e7 Mon Sep 17 00:00:00 2001 From: azv Date: Wed, 13 Mar 2019 05:42:53 +0300 Subject: [PATCH] Fix compilation error in SHAPERGUI_DataModel: use default types of dumped data. --- src/SHAPERGUI/SHAPERGUI_DataModel.cpp | 4 ---- 1 file changed, 4 deletions(-) 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())) { -- 2.39.2