Salome HOME
import image: remove from ShaperResult (SHAPERSTUDY)
[modules/shaper.git] / src / ConnectorPlugin / ConnectorPlugin_ExportFeature.py
index 141155028ef2d0b73c3544913ec74d552713d5d2..4fa7741fac1e41e2fb1dfa312b6b80e4527b58a2 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)