Cosmetics

This commit is contained in:
Roy Nieterau 2023-04-19 18:07:08 +02:00
parent fbc0430bb2
commit 5b7d419e18
2 changed files with 4 additions and 4 deletions

View file

@ -3944,8 +3944,10 @@ def create_rig_animation_instance(nodes, context, namespace, log=None):
assert controls, "No controls_SET in rig, this is a bug."
# Find the roots amongst the loaded nodes
roots = cmds.ls(nodes, assemblies=True, long=True) or \
get_highest_in_hierarchy(nodes)
roots = (
cmds.ls(nodes, assemblies=True, long=True) or
get_highest_in_hierarchy(nodes)
)
assert roots, "No root nodes in rig, this is a bug."
asset = legacy_io.Session["AVALON_ASSET"]

View file

@ -33,5 +33,3 @@ class RecreateRigAnimationInstance(InventoryAction):
nodes = get_container_members(container)
create_rig_animation_instance(nodes, context, namespace)