mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 08:54:53 +01:00
Fix xrange doesn't exist in Py3+ (use six instead)
This commit is contained in:
parent
4d7ff9d542
commit
bd726f8966
1 changed files with 1 additions and 4 deletions
|
|
@ -6,10 +6,7 @@ import sys
|
|||
import maya.api.OpenMaya as om
|
||||
import pymel.core as pm
|
||||
|
||||
|
||||
if sys.version_info[0] != 2:
|
||||
# Py3+ does not have `xrange` so we mimic it to allow to use it in Py2
|
||||
xrange = range
|
||||
from six.moves import xrange
|
||||
|
||||
|
||||
class GetOverlappingUVs(object):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue