diff options
Diffstat (limited to 'io_scene_gltf2/blender')
-rw-r--r-- | io_scene_gltf2/blender/exp/gltf2_blender_image.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/io_scene_gltf2/blender/exp/gltf2_blender_image.py b/io_scene_gltf2/blender/exp/gltf2_blender_image.py index 8ac272d8..fc41b7f2 100644 --- a/io_scene_gltf2/blender/exp/gltf2_blender_image.py +++ b/io_scene_gltf2/blender/exp/gltf2_blender_image.py @@ -189,8 +189,7 @@ class ExportImage: def __encode_from_image(self, image: bpy.types.Image) -> bytes: # See if there is an existing file we can use. data = None - if image.source == 'FILE' and image.file_format == self.file_format and \ - not image.is_dirty: + if image.source == 'FILE' and not image.is_dirty: if image.packed_file is not None: data = image.packed_file.data else: |