mgear-dev / mgear4

mGear v.4.x.x (python 3 ready) https://mgear4.readthedocs.io
MIT License
264 stars 93 forks source link

anim_utils uses dict.iteritems() and errors in Python 3 #203

Closed chris-lesage closed 1 year ago

chris-lesage commented 1 year ago

Line 2329 of mgear/core/anim_utils.py

for frame, matchDict in matchMatrix_dict.iteritems():

Should be changed to:

for frame, matchDict in matchMatrix_dict.items():

Or, use a similar Python version check as utils.py on lines 115 to 119.

miquelcampos commented 1 year ago

Thanks for the heads up @chris-lesage I will check that