Merge branch 'develop' into enhancement/1294-product-base-types-support-in-loading

This commit is contained in:
Ondřej Samohel 2025-06-09 14:03:31 +02:00 committed by GitHub
commit 3cca2101be
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -29,6 +29,15 @@ class OCIOEnvHook(PreLaunchHook):
def execute(self):
"""Hook entry method."""
task_entity = self.data.get("task_entity")
if not task_entity:
self.log.info(
"Skipping OCIO Environment preparation."
"Task Entity is not available."
)
return
folder_entity = self.data["folder_entity"]
template_data = get_template_data(