mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
Update openpype/hosts/traypublisher/plugins/publish/collect_explicit_colorspace.py
Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
This commit is contained in:
parent
e38d28f21e
commit
f4510fe571
1 changed files with 3 additions and 2 deletions
|
|
@ -21,10 +21,11 @@ class CollectColorspace(pyblish.api.InstancePlugin,
|
|||
def process(self, instance):
|
||||
values = self.get_attr_values_from_data(instance.data)
|
||||
colorspace = values.get("colorspace", None)
|
||||
self.log.debug("colorspace: {}".format(colorspace))
|
||||
if not colorspace:
|
||||
if colorspace is None:
|
||||
return
|
||||
|
||||
self.log.debug("Explicit colorspace set to: {}".format(colorspace))
|
||||
|
||||
context = instance.context
|
||||
for repre in instance.data.get("representations", {}):
|
||||
self.set_representation_colorspace(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue