User guide
RELEASE NOTES FOR MARI 2.0v1
Mari 2.0v1
16
The Foundry
Developer Notes
removed. Other related actions, such as shader baking and shader
copying have also been removed.
• The functions findLayer() and layer() have been added to the LayerStack
class in Python.
• Information regarding the old modular shader system in the Python API
documentation has been removed.
• The new function GeoEntity.createPtexChannel() has been added.
• When Mari crashes on Windows, it now outputs the stack to the log file.
• BUG ID 32215 - You can now query an object to see whether it is UV or
Ptex by using the function mari.geo.current().isPtex().
• BUG ID 33119 - The ability to query the resolution of ImageSets using
the Python API has been removed, as it wasn’t deemed to still be useful.
Resolution should instead be queried on the actual images within the
ImageSet.
• BUG ID 34139 - New functions LayerStack.exportImages(),
LayerStack.exportImagesFlattened(), PaintableLayer.exportImages(), and
ProceduralLayer.exportImages() have been added. These functions
support exporting files using file name templates, as in the GUI exporter.
• BUG ID 34140 - New functions LayerStack.importImages() and
PaintableLayer.importImages() have been added. These functions support
importing files using file name templates, as in the GUI importer.
• BUG ID 34196 - The C API now supports adding metadata to objects
loaded from custom plug-ins, using the attribute system. Please see the
Mari C API documentation for more details.
• BUG ID 34260 - Access to alpha setting using the ChannelInfo function
in the Python API has been removed, as the setting no longer exists.
• BUG ID 34268 - The new function mari.app.isProcessing() has been
added.
• BUG ID 34740 - The linked patches Python example script -
linked_patches.py - has been updated to allow patch linking setups to be
copied and pasted between different paintable layers and paintable layer
masks.
Bug Fixes There are no bug fixes relevant to developers in this release.