mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
Update client/ayon_core/pipeline/workfile/workfile_template_builder.py
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
This commit is contained in:
parent
8ec74b80f4
commit
6125a7db80
1 changed files with 6 additions and 4 deletions
|
|
@ -841,16 +841,18 @@ class AbstractTemplateBuilder(ABC):
|
|||
task_name = self.current_task_name
|
||||
task_type = self.current_task_type
|
||||
folder_path = self.current_folder_path
|
||||
folder_type = None
|
||||
folder_entity = self.current_folder_entity
|
||||
if folder_entity:
|
||||
folder_type = folder_entity["folderType"]
|
||||
|
||||
filter_data = {
|
||||
"task_types": task_type,
|
||||
"task_names": task_name,
|
||||
"folder_paths": folder_path
|
||||
"folder_types": folder_type,
|
||||
"folder_paths": folder_path,
|
||||
}
|
||||
|
||||
folder_entity = self.current_folder_entity
|
||||
if folder_entity:
|
||||
filter_data.update({"folder_types": folder_entity["folderType"]})
|
||||
|
||||
build_profiles = self._get_build_profiles()
|
||||
profile = filter_profiles(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue