Salome HOME
Merge branch 'csgroup_IS2'
[modules/shaper.git] / src / ConnectorPlugin / ConnectorPlugin_ExportFeature.py
index b9c246d6abd7016052dcc2d99ab9a3b52e523531..3a714b066d443d01ca33e216296a148929b35ca0 100644 (file)
@@ -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 nt export picture
+            if aResult.hasTextureFile() is True:
+              continue
             if not aResult is None:
               if (not aResult.shape() or aResult.shape().isNull()) and isPart:
                 aPart = model.modelAPI_ResultPart(aResult)