Skip to content

Commit

Permalink
update exception catch in isSideElement
Browse files Browse the repository at this point in the history
  • Loading branch information
miquelcampos committed Nov 7, 2024
1 parent 14e3809 commit 4f0b7ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion release/scripts/mgear/core/anim_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def isSideElement(name):
side = node.side_label.get()
if side in "LR":
return True
except pm.MayaNodeError:
except (pm.MayaNodeError, RuntimeError):
pass

# old logic for back compatibility
Expand Down

0 comments on commit 4f0b7ad

Please sign in to comment.