Fix T81834: Images not properly duplicated in node_shader_utils
Oversight in fb10eaf6e8
This commit is contained in:
parent
fb10eaf6e8
commit
4b7b4efd5b
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue