Fix T81834: Images not properly duplicated in node_shader_utils
Oversight in fb10eaf6e8
This commit is contained in:
parent
fb10eaf6e8
commit
4b7b4efd5b
Notes:
blender-bot
2023-02-14 09:03:55 +01:00
Referenced by issue #81834, Image data not properly duplicated in 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:
|
||||
|
|
Loading…
Reference in New Issue