diff options
author | Brecht Van Lommel <brecht@blender.org> | 2021-08-04 21:49:50 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2021-08-04 21:52:29 +0300 |
commit | 49acc52e02ec9e0577d3fa1f298720139d9f751b (patch) | |
tree | bea283bebc0cda0c2a2ba3953e842c2fe67304ea /intern/cycles/blender | |
parent | 8abf6efcf60fa7f609f38fda0e085d84a72b6dba (diff) |
Cycles: make object Fast GI Approximation panel a subpanel of Shading
Diffstat (limited to 'intern/cycles/blender')
-rw-r--r-- | intern/cycles/blender/addon/ui.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/intern/cycles/blender/addon/ui.py b/intern/cycles/blender/addon/ui.py index 336fb02ba36..e804f697571 100644 --- a/intern/cycles/blender/addon/ui.py +++ b/intern/cycles/blender/addon/ui.py @@ -1228,10 +1228,10 @@ class CYCLES_OBJECT_PT_shading_shadow_terminator(CyclesButtonsPanel, Panel): flow.prop(cob, "shadow_terminator_offset", text="Shading Offset") -class CYCLES_OBJECT_PT_gi_approximation(CyclesButtonsPanel, Panel): +class CYCLES_OBJECT_PT_shading_gi_approximation(CyclesButtonsPanel, Panel): bl_label = "Fast GI Approximation" + bl_parent_id = "CYCLES_OBJECT_PT_shading" bl_context = "object" - bl_options = {'DEFAULT_CLOSED'} def draw(self, context): layout = self.layout @@ -2325,7 +2325,7 @@ classes = ( CYCLES_OBJECT_PT_motion_blur, CYCLES_OBJECT_PT_shading, CYCLES_OBJECT_PT_shading_shadow_terminator, - CYCLES_OBJECT_PT_gi_approximation, + CYCLES_OBJECT_PT_shading_gi_approximation, CYCLES_OBJECT_PT_visibility, CYCLES_OBJECT_PT_visibility_ray_visibility, CYCLES_OBJECT_PT_visibility_culling, |