diff options
author | Jeroen Bakker <jeroen@blender.org> | 2021-03-17 10:48:05 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2021-03-17 10:59:04 +0300 |
commit | 97defd9cd79b6e3ed0e52481a7078107dbe0522b (patch) | |
tree | 43bcafd0f3ea6292919d2930192b6fabef9efece /source/blender/blenkernel | |
parent | f4639276eea47f193fa0d59e8110dbe2c1af3442 (diff) |
Cryptomatte: Show Name of Object/Material Under The Cursor.
This change shows the object or material name with the cursor when picking for a cryptomatte node.
Reviewed By: Julian Eisel
Differential Revision: https://developer.blender.org/D10705
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/BKE_node.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_node.h b/source/blender/blenkernel/BKE_node.h index f5c617c1d04..ced76e65ada 100644 --- a/source/blender/blenkernel/BKE_node.h +++ b/source/blender/blenkernel/BKE_node.h @@ -1289,10 +1289,11 @@ void ntreeCompositCryptomatteSyncFromRemove(bNode *node); bNodeSocket *ntreeCompositCryptomatteAddSocket(bNodeTree *ntree, bNode *node); int ntreeCompositCryptomatteRemoveSocket(bNodeTree *ntree, bNode *node); void ntreeCompositCryptomatteLayerPrefix(const bNode *node, char *r_prefix, size_t prefix_len); - /* Update the runtime layer names with the cryptomatte layer names of the references * render layer or image. */ void ntreeCompositCryptomatteUpdateLayerNames(bNode *node); +struct CryptomatteSession *ntreeCompositCryptomatteSession(bNode *node); + /** \} */ /* -------------------------------------------------------------------- */ |