mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 05:42:15 +01:00
Remove "asset_group" functionality in CreateReview, since it's unused there
This commit is contained in:
parent
9419fe5d51
commit
a450eab0ce
1 changed files with 0 additions and 5 deletions
|
|
@ -15,7 +15,6 @@ class CreateReview(plugin.BaseCreator):
|
|||
def create(
|
||||
self, subset_name: str, instance_data: dict, pre_create_data: dict
|
||||
):
|
||||
"""Run the creator on Blender main thread."""
|
||||
# Run parent create method
|
||||
collection = super().create(
|
||||
subset_name, instance_data, pre_create_data
|
||||
|
|
@ -25,9 +24,5 @@ class CreateReview(plugin.BaseCreator):
|
|||
selected = lib.get_selection()
|
||||
for obj in selected:
|
||||
collection.objects.link(obj)
|
||||
elif pre_create_data.get("asset_group"):
|
||||
# TODO: What is the intended behavior for this?
|
||||
obj = (self.options or {}).get("asset_group")
|
||||
collection.objects.link(obj)
|
||||
|
||||
return collection
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue