Blender Git Loki

Git Commits -> Revision 7d17f2a

Revision 7d17f2a by Manuel Castilla (master)
August 23, 2021, 15:09 (GMT)
Fix T89998: Cryptomatte node output values doubled with Multi-View

When using a Cryptomatte node and selecting 2 views in Multi-View,
its output values are doubled. When selecting 3 tripled and so on.
This causes incorrect compositing results for all the views.

The node creates an input operation for each rendered cryptomatte
pass. In Multi-View, passes are rendered for each view but compositor
is executed per view and should only create operations for those
corresponding to the current view being executed. Otherwise duplicated
operations add up later in cryptomatte operation.

Reviewed By: jbakker

Maniphest Tasks: T89998

Differential Revision: https://developer.blender.org/D12216

Commit Details:

Full Hash: 7d17f2addf80f7ee315b49e0c281562050ee0667
Parent Commit: 4c6d207
Lines Changed: +10, -0

2 Modified Paths:

/source/blender/compositor/intern/COM_CompositorContext.h (+6, -0) (Diff)
/source/blender/compositor/nodes/COM_CryptomatteNode.cc (+4, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021