This What's New covers changes made in 2019, 2019.1, and 2019.2.
The MPxTransform_BoundingBox class added as a temporary fix for the issue where MPxTransform::boundingBox() is not called from a command when MPxTransform::treatAsTransform() returns false. However, this issue was fixed in Maya 2020, and this temporary class was removed from the API.
Important: If you are using
MPxTransform_BoundingBox-derived classes, you will need to change back toMPxTransform-derived classes in Maya 2020.
A change was made so that MPxImagePlane no longer needed to be associated with MPxImagePlaneOverride when drawing a custom image plane in VP2.0. Consequently, the customImagePlane example was updated to use MPxImagePlane instead of MPxImagePlaneOverride.
Important: If you have any code that uses
MPxImagePlaneOverride, you should update it to use onlyMPxImagePlane.
Only the example plug-ins were modified between 2019 and 2019.1
The following example plug-ins were removed from the devkit:
The following example plug-ins were updated:
Building with CMake was introduced in 2019.
The embedded version of Python on MacOSX was updated to Python 2.7.15.
As of 2019, Maya sets the SSL_CERT_FILE environment variable to point to the cert.pem file within its embedded Python Framework if SSL_CERT_FILE is unset. To keep SSL_CERT_FILE unset, the MAYA_DO_NOT_SET_SSL_CERT_FILE environment variable must be set to 1 before launching Maya.
The following new classes were added to Maya 2019:
The following new types were added to Maya 2019:
MFn::kPinToGeometryUVMFn::kPinToGeometryProxMPolyMessage::kColorSetAddedMPolyMessage::kColorSetDeletedMPolyMessage::kCurrentColorSetChangedMPyMSceneMessage::kAfterCreateReferenceThe following new methods were added to Maya 2019:
MPxGeometryOverride::requiresGeometryUpdate()MPxGeometryOverride::requiresUpdateRenderItems() MPxGeometryOverride::supportsEvaluationManagerParallelUpdate()MPxGeometryOverride::supportsVP2CustomCaching()MRenderItem::shadingComponent()MRenderItem::setAllowIsolateSelectCopy()MRenderItem::allowIsolateSelectCopy()MRenderItem::isIsolateSelectCopy()MFnDependencyNode::setAllowedToAnimate()MFnDependencyNode::allowedToAnimate()MGraphEditorInfo::isStackedViewportMode()MGraphEditorInfo::isNormalizedViewportMode()MProfiler::getCategoryInfo()MUIDrawManager::cylinder()MUIDrawManager::capsule()MUIDrawManager::sphere()MUIDrawManager::circle()MUIDrawManager::circle2d()MUIDrawManager::arc()MUIDrawManager::arc2d()MUIDrawManager::cone()MPolyMessage::addColorSetChangedCallback()MGlobal::executeTaskOnIdle() (C++ only)MMessage::stopRegisteringCallableScript()The following methods were modified in Maya 2019:
MProfiler::addCategory() MProfiler::getAllCategories()MFnMesh::create()MnCloth::setAddCrossLinks()The following methods were deprecated in Maya 2019:
MHardwareRenderer::theRenderer()MHardwareRenderer::backEndString()MHardwareRenderer::makeResourceContextCurrent()MHardwareRenderer::addDrawProcedure()MHardwareRenderer::removeDrawProcedure()MHardwareRenderer::insertDrawProcedure()MHardwareRenderer::getDrawProcedureCount()MHardwareRenderer::getDrawProcedureListNames()MHardwareRenderer::findDrawProcedure()MHardwareRenderer::restoreCurrent()MHardwareRenderer::getBufferSize()MHardwareRenderer::getColorBufferPixelFormat()MHardwareRenderer::getDepthBufferPixelFormat()MHardwareRenderer::dereferenceGeometry()MHardwareRenderer::glFunctionTable()M3dView::beginGL()M3dView::endGL()M3dView::setDrawColor(unsigned int, ColorTable)M3dView::setDrawColor(const MColor& )M3dView::setDrawColorAndAlpha()M3dView::colorMask()M3dView::setColorMask()M3dView::drawText()M3dView::readColorBuffer()M3dView::writeColorBuffer()M3dView::readDepthMap()M3dView::readBufferTo2dTexture()M3dView::setMultipleDrawEnable()M3dView::multipleDrawPassCount()M3dView::setMultipleDrawPassCount()M3dView::beginProjMatrixOverride()M3dView::endProjMatrixOverride()The following examples were updated in Maya 2019:
The following examples were added to Maya 2019: