Salome HOME
bos #26449: SHAPER: save imported images
[modules/shaper.git] / src / ConnectorPlugin / ConnectorPlugin_ExportFeature.py
index 3a714b066d443d01ca33e216296a148929b35ca0..da88d6c2a8fd0998b37fac8a8b4f9063c0e68b04 100644 (file)
@@ -68,8 +68,8 @@ 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:
+            # 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: