From 9b822156745695850dd315c22b0c555c13e860ea Mon Sep 17 00:00:00 2001 From: Roy Nieterau Date: Mon, 1 Jul 2024 22:13:07 +0200 Subject: [PATCH] Cosmetics --- client/ayon_core/pipeline/usdlib.py | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/client/ayon_core/pipeline/usdlib.py b/client/ayon_core/pipeline/usdlib.py index 583c36b6ca..2ff98c5e45 100644 --- a/client/ayon_core/pipeline/usdlib.py +++ b/client/ayon_core/pipeline/usdlib.py @@ -619,9 +619,14 @@ def add_ordered_reference( return prim_spec -def set_variant_reference(sdf_layer, prim_path, variant_selections, path, - as_payload=False, - append=True): +def set_variant_reference( + sdf_layer, + prim_path, + variant_selections, + path, + as_payload=False, + append=True +): """Get or define variant selection at prim path and add a reference If the Variant Prim already exists the prepended references are replaced