Skip to content

Commit

Permalink
Ui Utilities - Support PySide6 'shiboken6'
Browse files Browse the repository at this point in the history
GitHub issue #251.
  • Loading branch information
david-cattermole committed Oct 18, 2024
1 parent f98d7e2 commit 2fa26dc
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions python/mmSolver/ui/uiutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,12 @@ def isValidQtObject(obj):
raise NotImplementedError
elif host == 'maya':
try:
from shiboken2 import isValid
from shiboken6 import isValid
except ImportError:
from shiboken import isValid
try:
from shiboken2 import isValid
except ImportError:
from shiboken import isValid
v = isValid(obj)
else:
raise NotImplementedError
Expand Down

0 comments on commit 2fa26dc

Please sign in to comment.