]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ConnectorPlugin/ConnectorPlugin_ExportFeature.py
Salome HOME
Copyright update 2022
[modules/shaper.git] / src / ConnectorPlugin / ConnectorPlugin_ExportFeature.py
index 141155028ef2d0b73c3544913ec74d552713d5d2..30e01b86ef0b9315fee681b8f79f560fa2da68bd 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2022  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -68,6 +68,9 @@ class ExportFeature(ModelAPI.ModelAPI_Feature):
           for aResIndex in range(self.Part.size(aResultType)):
             anObject = self.Part.object(aResultType, aResIndex)
             aResult = model.objectToResult(anObject)
+            # do not export picture
+            if aResult.hasTexture() is True:
+              continue
             if not aResult is None:
               if (not aResult.shape() or aResult.shape().isNull()) and isPart:
                 aPart = model.modelAPI_ResultPart(aResult)