Updates to Maya 2022 will continue to support both Python 2 and Python 3. However, it is recommended that you migrate your Python 2 scripts and plug-ins to Python 3.
The download locations for Qt and PySide have changed:
The download location for Qt has changed to https://github.com/autodesk-forks/qt5/releases/tag/Maya2022.2
And the download location for PySide has changed to https://github.com/autodesk-forks/pyside-setup/releases/tag/Maya2022.2
See the 2022.2 Open Source Component page for the full list of open source component versions and download locations.
kSelectionHighlighting has been added to MGeometry::DrawMode.
When kSelectionHighlighting is passed to MRenderItem::setDrawMode(), the render item will only be drawn if selection highlighting is enabled.
The gpuCache devkit example has been updated to use this new enum.
The snapToActive() method has been added to MSelectionInfo:
bool MHWRender::MSelectionInfo::snapToActive (MStatus* ReturnStatus = nullptr) const
snapToActive() returns true if an active object should be snapped to, and returns false otherwise.
MUint64 MRenderItem::InternalObjectId() const returns a unique identifier for a render item. If two MRenderItems hold the same internal render item, they will have the same InternalObjectIds.