diff options
author | Stephen Leger <stephen@3dservices.ch> | 2019-06-06 14:28:23 +0300 |
---|---|---|
committer | Stephen Leger <stephen@3dservices.ch> | 2019-06-06 14:28:23 +0300 |
commit | a2c280a16b947b7e4e05cb595c54769af053e26b (patch) | |
tree | 587c3936d6f89c47c2a429ac68d6099ab4134003 /archipack/archipack_preset.py | |
parent | 2d691e2e0c46b3d91b491cfeda94523c1517a085 (diff) |
Archipack: fix offline rendering of thumbs
Diffstat (limited to 'archipack/archipack_preset.py')
-rw-r--r-- | archipack/archipack_preset.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/archipack/archipack_preset.py b/archipack/archipack_preset.py index 745b1826..f859b51f 100644 --- a/archipack/archipack_preset.py +++ b/archipack/archipack_preset.py @@ -295,6 +295,8 @@ class PresetMenu(): self.imageList.append(image.filepath_raw) elif os.path.exists(filepath + '.png') and os.path.isfile(filepath + '.png'): image = bpy.data.images.load(filepath=filepath + '.png') + if hasattr(image, "colorspace_settings"): + image.colorspace_settings.name = 'Raw' self.imageList.append(image) if image is None: image = self.default_image |