diff options
Diffstat (limited to 'release/scripts/modules/bpy_extras/node_shader_utils.py')
-rw-r--r-- | release/scripts/modules/bpy_extras/node_shader_utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/modules/bpy_extras/node_shader_utils.py b/release/scripts/modules/bpy_extras/node_shader_utils.py index 161560f7f05..54124fd4ca6 100644 --- a/release/scripts/modules/bpy_extras/node_shader_utils.py +++ b/release/scripts/modules/bpy_extras/node_shader_utils.py @@ -702,7 +702,7 @@ class ShaderImageTextureWrapper(): image = image.copy() image.colorspace_settings.is_data = self.colorspace_is_data if self.colorspace_name is not ...: - if image.colorspace_settings.is_data != self.colorspace_is_data and image.users >= 1: + if image.colorspace_settings.name != self.colorspace_name and image.users >= 1: image = image.copy() image.colorspace_settings.name = self.colorspace_name if self.use_alpha: |