Blender Kitsu: fix task type filtering for the active project #216
@ -479,7 +479,7 @@ def get_shot_task_types_enum(
|
|||||||
# Update Cache project ID
|
# Update Cache project ID
|
||||||
_all_shot_tasks_cache_proj_id = project_active.id
|
_all_shot_tasks_cache_proj_id = project_active.id
|
||||||
|
|
||||||
items = [(t.id, t.name, "") for t in TaskType.all_shot_task_types()]
|
items = [(t.id, t.name, "") for t in TaskType.all_shot_task_types() if t.id in project_active.task_types]
|
||||||
|
|
||||||
_task_types_shots_enum_list.clear()
|
_task_types_shots_enum_list.clear()
|
||||||
_task_types_shots_enum_list.extend(items)
|
_task_types_shots_enum_list.extend(items)
|
||||||
|
Loading…
Reference in New Issue
Block a user