diff options
Diffstat (limited to 'io_import_gimp_image_to_scene.py')
-rw-r--r-- | io_import_gimp_image_to_scene.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io_import_gimp_image_to_scene.py b/io_import_gimp_image_to_scene.py index 4605fe1d..bc09c75f 100644 --- a/io_import_gimp_image_to_scene.py +++ b/io_import_gimp_image_to_scene.py @@ -85,7 +85,7 @@ def main(File, Path, LayerViewers, MixerViewers, LayerOffset, for Segment in Line.split(): if Segment.startswith('w/h:'): ResX, ResY = map (int, Segment[4:].split(',')) - if Line.startswith("b'L") or Line.startswith("b'l"): + if Line.startswith(("b'L", "b'l")): """The "nice" method to check if layer has alpha channel sadly GIMP sometimes decides not to export an alpha channel |