Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Stockner <lukas.stockner@freenet.de>2022-04-08 02:14:01 +0300
committerLukas Stockner <lukas.stockner@freenet.de>2022-04-10 19:43:57 +0300
commit0b05e0b97e4b556ce87dd659a3786be53f89e4e5 (patch)
tree7c6dca1493acc83874839a3762a00af5265995d5 /intern/cycles/blender/addon
parenta4f970e86b526b6ea9bf0ccacfd687581f479348 (diff)
Fix T97159: AOV Pass in Cycles always gets Alpha Value of 1 for whole image
As far as I can see, it makes a lot of sense to have the alpha channel here, it matches the 2.x behavior and also matches what Eevee is doing. Differential Revision: https://developer.blender.org/D14595
Diffstat (limited to 'intern/cycles/blender/addon')
-rw-r--r--intern/cycles/blender/addon/engine.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/blender/addon/engine.py b/intern/cycles/blender/addon/engine.py
index b7713dc7110..1b03581ae03 100644
--- a/intern/cycles/blender/addon/engine.py
+++ b/intern/cycles/blender/addon/engine.py
@@ -226,7 +226,7 @@ def list_render_passes(scene, srl):
if aov.type == 'VALUE':
yield (aov.name, "X", 'VALUE')
else:
- yield (aov.name, "RGB", 'COLOR')
+ yield (aov.name, "RGBA", 'COLOR')
# Light groups.
for lightgroup in srl.lightgroups: