[Bf-blender-cvs] [d9a645dcc02] cycles-x: Fix Cycles X viewport passes after baking changes
Sergey Sharybin
noreply at git.blender.org
Wed Jun 9 18:11:38 CEST 2021
Commit: d9a645dcc029ba0f911687ecd4e9a912f2ec4edd
Author: Sergey Sharybin
Date: Wed Jun 9 18:10:29 2021 +0200
Branches: cycles-x
https://developer.blender.org/rBd9a645dcc029ba0f911687ecd4e9a912f2ec4edd
Fix Cycles X viewport passes after baking changes
Changes in passes values breaks synchronization with the values
used for the UI menu.
===================================================================
M intern/cycles/blender/addon/properties.py
===================================================================
diff --git a/intern/cycles/blender/addon/properties.py b/intern/cycles/blender/addon/properties.py
index 797f9da5123..f1fd8ac6967 100644
--- a/intern/cycles/blender/addon/properties.py
+++ b/intern/cycles/blender/addon/properties.py
@@ -132,33 +132,33 @@ enum_view3d_shading_render_pass = (
('EMISSION', "Emission", "Show the Emission render pass", 2),
('BACKGROUND', "Background", "Show the Background render pass", 3),
('AO', "Ambient Occlusion", "Show the Ambient Occlusion render pass", 4),
- ('SHADOW_CATCHER', "Shadow Catcher", "Show the Shadow Catcher render pass", 52),
+ ('SHADOW_CATCHER', "Shadow Catcher", "Show the Shadow Catcher render pass", 53),
('', "Light", ""),
- ('DIFFUSE_DIRECT', "Diffuse Direct", "Show the Diffuse Direct render pass", 7),
- ('DIFFUSE_INDIRECT', "Diffuse Indirect", "Show the Diffuse Indirect render pass", 8),
- ('DIFFUSE_COLOR', "Diffuse Color", "Show the Diffuse Color render pass", 45),
+ ('DIFFUSE_DIRECT', "Diffuse Direct", "Show the Diffuse Direct render pass", 6),
+ ('DIFFUSE_INDIRECT', "Diffuse Indirect", "Show the Diffuse Indirect render pass", 7),
+ ('DIFFUSE_COLOR', "Diffuse Color", "Show the Diffuse Color render pass", 46),
- ('GLOSSY_DIRECT', "Glossy Direct", "Show the Glossy Direct render pass", 9),
- ('GLOSSY_INDIRECT', "Glossy Indirect", "Show the Glossy Indirect render pass", 10),
- ('GLOSSY_COLOR', "Glossy Color", "Show the Glossy Color render pass", 46),
+ ('GLOSSY_DIRECT', "Glossy Direct", "Show the Glossy Direct render pass", 8),
+ ('GLOSSY_INDIRECT', "Glossy Indirect", "Show the Glossy Indirect render pass", 9),
+ ('GLOSSY_COLOR', "Glossy Color", "Show the Glossy Color render pass", 47),
('', "", ""),
- ('TRANSMISSION_DIRECT', "Transmission Direct", "Show the Transmission Direct render pass", 11),
- ('TRANSMISSION_INDIRECT', "Transmission Indirect", "Show the Transmission Indirect render pass", 12),
- ('TRANSMISSION_COLOR', "Transmission Color", "Show the Transmission Color render pass", 47),
+ ('TRANSMISSION_DIRECT', "Transmission Direct", "Show the Transmission Direct render pass", 10),
+ ('TRANSMISSION_INDIRECT', "Transmission Indirect", "Show the Transmission Indirect render pass", 11),
+ ('TRANSMISSION_COLOR', "Transmission Color", "Show the Transmission Color render pass", 48),
- ('VOLUME_DIRECT', "Volume Direct", "Show the Volume Direct render pass", 13),
- ('VOLUME_INDIRECT', "Volume Indirect", "Show the Volume Indirect render pass", 14),
+ ('VOLUME_DIRECT', "Volume Direct", "Show the Volume Direct render pass", 12),
+ ('VOLUME_INDIRECT', "Volume Indirect", "Show the Volume Indirect render pass", 13),
('', "Data", ""),
('NORMAL', "Normal", "Show the Normal render pass", 33),
- ('UV', "UV", "Show the UV render pass", 34),
- ('MIST', "Mist", "Show the Mist render pass", 48),
- ('SAMPLE_COUNT', "Sample Count", "Per-pixel number of samples", 44),
+ ('UV', "UV", "Show the UV render pass", 35),
+ ('MIST', "Mist", "Show the Mist render pass", 49),
+ ('SAMPLE_COUNT', "Sample Count", "Per-pixel number of samples", 45),
)
More information about the Bf-blender-cvs
mailing list