[Bf-blender-cvs] [c7a20862532] soc-2021-uv-editor-improvements: Cycles: make object Fast GI Approximation panel a subpanel of Shading
Brecht Van Lommel
noreply at git.blender.org
Mon Aug 9 03:24:41 CEST 2021
Commit: c7a20862532e4821545a620e5bf0a4adaa1d09d3
Author: Brecht Van Lommel
Date: Wed Aug 4 20:49:50 2021 +0200
Branches: soc-2021-uv-editor-improvements
https://developer.blender.org/rBc7a20862532e4821545a620e5bf0a4adaa1d09d3
Cycles: make object Fast GI Approximation panel a subpanel of Shading
===================================================================
M intern/cycles/blender/addon/ui.py
===================================================================
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,
More information about the Bf-blender-cvs
mailing list