mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
formatting fixes
This commit is contained in:
parent
19bafc10d3
commit
c4d6723c51
3 changed files with 4 additions and 4 deletions
|
|
@ -2629,4 +2629,4 @@ class CreateContext:
|
||||||
INSTANCE_PARENT_CHANGED_TOPIC,
|
INSTANCE_PARENT_CHANGED_TOPIC,
|
||||||
{"instances": instances},
|
{"instances": instances},
|
||||||
sender,
|
sender,
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -60,8 +60,8 @@ class CollectFromCreateContext(pyblish.api.ContextPlugin):
|
||||||
is_active = created_instance["active"]
|
is_active = created_instance["active"]
|
||||||
# Use a parent's active state if parent flags defines that
|
# Use a parent's active state if parent flags defines that
|
||||||
if (
|
if (
|
||||||
is_active
|
created_instance.parent_flags & ParentFlags.share_active
|
||||||
and created_instance.parent_flags & ParentFlags.share_active
|
and is_active
|
||||||
):
|
):
|
||||||
is_active = parent_is_active
|
is_active = parent_is_active
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -792,7 +792,7 @@ class InstanceCardView(AbstractInstanceView):
|
||||||
|
|
||||||
self._instance_ids_by_parent_id = instance_ids_by_parent_id
|
self._instance_ids_by_parent_id = instance_ids_by_parent_id
|
||||||
self._group_name_by_instance_id = group_by_instance_id
|
self._group_name_by_instance_id = group_by_instance_id
|
||||||
self._instance_ids_by_group_name = instance_ids_by_group_name
|
self._instance_ids_by_group_name = instance_ids_by_group_name
|
||||||
self._ordered_groups = sorted_group_names
|
self._ordered_groups = sorted_group_names
|
||||||
|
|
||||||
def has_items(self) -> bool:
|
def has_items(self) -> bool:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue