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
path: root/intern
diff options
context:
space:
mode:
authorPablo Vazquez <venomgfx@gmail.com>2019-05-02 15:37:33 +0300
committerPablo Vazquez <venomgfx@gmail.com>2019-05-02 15:37:43 +0300
commit9fa0e58fea25623e04c5eafdfc2ec2d5fccf9b53 (patch)
treeb3f16b0c8aff4167f31dac64291e5f4fc9c51591 /intern
parent1d8531e3db320618b1143c23c0b5dcf3f7e14efb (diff)
UI: Open 'Passes' panel by default in Cycles.
This panel is arguably the most important in the ViewLayer properties, so the concept of "1 panel open per context" doesn't work. Especially since the first panel (View Layer) contains only two settings. This also registers the Passes panels before filter/override so it's sorted in the same way as EEVEE.
Diffstat (limited to 'intern')
-rw-r--r--intern/cycles/blender/addon/ui.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/intern/cycles/blender/addon/ui.py b/intern/cycles/blender/addon/ui.py
index bcf9a351758..0845f567056 100644
--- a/intern/cycles/blender/addon/ui.py
+++ b/intern/cycles/blender/addon/ui.py
@@ -745,7 +745,6 @@ class CYCLES_RENDER_PT_override(CyclesButtonsPanel, Panel):
class CYCLES_RENDER_PT_passes(CyclesButtonsPanel, Panel):
bl_label = "Passes"
bl_context = "view_layer"
- bl_options = {'DEFAULT_CLOSED'}
def draw(self, context):
pass
@@ -2131,13 +2130,13 @@ classes = (
CYCLES_RENDER_PT_performance_acceleration_structure,
CYCLES_RENDER_PT_performance_final_render,
CYCLES_RENDER_PT_performance_viewport,
- CYCLES_RENDER_PT_filter,
- CYCLES_RENDER_PT_override,
CYCLES_RENDER_PT_passes,
CYCLES_RENDER_PT_passes_data,
CYCLES_RENDER_PT_passes_light,
CYCLES_RENDER_PT_passes_crypto,
CYCLES_RENDER_PT_passes_debug,
+ CYCLES_RENDER_PT_filter,
+ CYCLES_RENDER_PT_override,
CYCLES_RENDER_PT_denoising,
CYCLES_PT_post_processing,
CYCLES_CAMERA_PT_dof,