Update openpype/settings/entities/color_entity.py

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
This commit is contained in:
Toke Jepsen 2023-04-05 11:44:48 +01:00 committed by GitHub
parent a3d358a661
commit c290422fcd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -66,6 +66,6 @@ class ColorEntity(InputEntity):
new_value.append(item)
# Make sure
if hasattr(self, "use_alpha") and not self.use_alpha:
if not self.use_alpha:
new_value[3] = 255
return new_value