Specifications
RELEASE NOTES FOR MARI 2.0V2
Mari 2.0v2
9
The Foundry
Developer Notes
Developer Notes
These are the changes relevant to developers.
New Features • BUG ID 35012 - The mari.Channel.setName() and name() functions have
been added to the Python API.
• BUG ID 35941 - The Channel and LayerStack classes are now derived
from the Metadata class, so that metadata can be added to a channel, as
in earlier versions.
• BUG ID 36142 - The Layer.siblingSharedLayerList() function has been
added. This function returns the list of other layers that share resources
with this layer.
• BUG ID 36165 - The following functions have been added to the Python
API:
• AdjustmentLayer.primaryAdjustmentType()
• AdjustmentLayer.secondaryAdjustmentType()
• ProceduralLayer.proceduralType().
These provide a reliable way to retrieve the types of adjustment or pro-
cedural layers, and in a form that is more consistent with other func-
tions. The existing similar functions, such as proceduralName(), have now
been deprecated.
Feature
Enhancements
• BUG ID 34698 - The Layer.setName() function has been added to the
Python API.
• BUG ID 34727 - The LayerStack.exportImages(),
LayerStack.exportImagesFlattened(), PaintableLayer.exportImages(), and
ProceduralLayer.exportImages() functions all accept an optional list of
UV indices to export.
• BUG ID 34805 - The Added Layer.nameChanged, Channel.nameChanged,
and Shader.nameChanged signals have been added to the Python API.
• BUG ID 35031 - The Shader.setName() and name() functions have been
added to the Python API.
• BUG ID 35142 - The Indices page of the Python API documentation now
appears on a single page, as it was in pre-2.0v1 versions.
• BUG ID 36169 - LayerStack.adjustmentLayerTypeList() and
LayerStack.proceduralLayerTypeList() are now static, so they can be
called through mari.LayerStack instead of requiring a LayerStack object.
• BUG ID 36250 - Metadata can be added to shader classes in the Python
API.