removed 'get_subset_name' and renamed 'get_subset_name_with_asset_doc' to 'get_subset_name'

This commit is contained in:
Jakub Trllo 2022-08-23 19:20:04 +02:00
parent df0565222c
commit 7a4cd9c1fa
15 changed files with 37 additions and 74 deletions

View file

@ -3,7 +3,7 @@
import os
import pyblish.api
from openpype.pipeline.create import get_subset_name_with_asset_doc
from openpype.pipeline.create import get_subset_name
class CollectWorkfile(pyblish.api.ContextPlugin):
@ -17,7 +17,7 @@ class CollectWorkfile(pyblish.api.ContextPlugin):
"""Plugin entry point."""
family = "workfile"
basename = os.path.basename(context.data["currentFile"])
subset = get_subset_name_with_asset_doc(
subset = get_subset_name(
family,
"",
context.data["anatomyData"]["task"]["name"],