]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
fix : remove material file from export widget
authorNicolas RECHATIN <nicolas.rechatin@cea.fr>
Wed, 18 Oct 2023 15:27:01 +0000 (17:27 +0200)
committerNicolas RECHATIN <nicolas.rechatin@cea.fr>
Wed, 18 Oct 2023 15:27:01 +0000 (17:27 +0200)
src/ExchangePlugin/ExchangePlugin_ExportFeature.cpp
src/ExchangePlugin/ExchangePlugin_ExportFeature.h
src/ExchangePlugin/export_widget.xml

index ed49b8b21af047f68354996871ab8326e5ec83a9..2a52e61b8a59a1c1faa4f1dadc5b804b90851327 100644 (file)
@@ -149,8 +149,6 @@ void ExchangePlugin_ExportFeature::initAttributes()
                          ModelAPI_AttributeString::typeId());
     data()->addAttribute(ExchangePlugin_ExportFeature::MAIN_OBJECT_ID(),
                          ModelAPI_AttributeSelection::typeId());
-    data()->addAttribute(ExchangePlugin_ExportFeature::MAT_FILE_ID(),
-                         ModelAPI_AttributeString::typeId());
 
     // to support previous version of document, move the selection list
     // if the type of export operation is XAO
index 2804f68c0fb56c8bfcfd925760cf8cd90aa01320..cf51869061b320c0509e7e28bb78eb5a805e8c9f 100644 (file)
@@ -180,12 +180,6 @@ public:
     static const std::string MY_MAIN_OBJECT_ID("root_main_object");
     return MY_MAIN_OBJECT_ID;
   }
-  /// attribute name of materials file
-  inline static const std::string& MAT_FILE_ID()
-  {
-    static const std::string MY_MAT_FILE_ID("mat_file");
-    return MY_MAT_FILE_ID;
-  }
 
   /// Default constructor
   EXCHANGEPLUGIN_EXPORT ExchangePlugin_ExportFeature();
index 097c95556bead70dbebd9f5d6fe21f7fbf41a75a..829c2f00e5b9403b3fc7d4b4687f0f4ba359d4a5 100644 (file)
                       geometrical_selection="true">
         <validator id="GeomValidators_ShapeType" parameters="solid compound" />
       </shape_selector>
-      <file_selector id="mat_file" title="Materials file" path="">
-      </file_selector>
     </case>
   </switch>
 </source>