mottosso / cmdx

Fast and persistent subset of maya.cmds
https://mottosso.com/cmdx
BSD 2-Clause "Simplified" License
193 stars 36 forks source link

Improved Python 3 support #8

Closed mottosso closed 4 years ago

mottosso commented 4 years ago

Metaclasses has changed in Python 3 (i.e. Maya 2021+), this bridges the gap between the two. Before, one of the noticeable effects was that specialised objects, like Object Sets, wouldn't be assigned their appropriate ObjectSet subclass. But it's also used in node reuse, so memory would have suffered and references would not have worked.