Skip to content

Commit

Permalink
remove type annotation from variant set edit context. is this a bug w…
Browse files Browse the repository at this point in the history
…ith cpython?

Signed-off-by: Christian López Barrón <[email protected]>
  • Loading branch information
chrizzFTD committed Dec 8, 2024
1 parent 6150a25 commit 2c09055
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grill/usd/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ def _(arc, /, path: Sdf.Path, layer: Sdf.Layer) -> Usd.EditContext:


@edit_context.register
def _(variant_set: Usd.VariantSet, /, layer: Sdf.Layer) -> Usd.EditContext:
def _(variant_set: Usd.VariantSet, /, layer) -> Usd.EditContext:
with contextlib.suppress(Tf.ErrorException):
return variant_set.GetVariantEditContext()
# ----- From Pixar -----
Expand Down

0 comments on commit 2c09055

Please sign in to comment.