mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
Check for existing profile
This commit is contained in:
parent
ad83f76318
commit
0ab00dbb4e
1 changed files with 6 additions and 1 deletions
|
|
@ -89,7 +89,12 @@ class ExtractThumbnailFromSource(pyblish.api.InstancePlugin):
|
|||
profiles = None
|
||||
|
||||
def process(self, instance):
|
||||
self._create_context_thumbnail(instance.context)
|
||||
if not self.profiles:
|
||||
self.log.debug("No profiles present for color transcode")
|
||||
return
|
||||
profile_config = self._get_config_from_profile(instance)
|
||||
if not profile_config:
|
||||
return
|
||||
|
||||
product_name = instance.data["productName"]
|
||||
self.log.debug(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue