[Bf-blender-cvs] [011c2a37ebd] blender-v3.4-release: Cycles: Sort properties in Path Guiding panel
Pablo Vazquez
noreply at git.blender.org
Thu Nov 17 16:18:30 CET 2022
Commit: 011c2a37ebd648a8716dad724920fe94a432a7ef
Author: Pablo Vazquez
Date: Thu Nov 17 16:18:18 2022 +0100
Branches: blender-v3.4-release
https://developer.blender.org/rB011c2a37ebd648a8716dad724920fe94a432a7ef
Cycles: Sort properties in Path Guiding panel
* Sort Training Samples first, since it affects both Surface and Volume guiding.
* Remove "Guiding" from Surface and Volume entries (UI only, the property
still has Guiding in the name)
Change reviewed in the render-cycles module channel.
===================================================================
M intern/cycles/blender/addon/ui.py
===================================================================
diff --git a/intern/cycles/blender/addon/ui.py b/intern/cycles/blender/addon/ui.py
index 305accc8f1a..c61ae37c215 100644
--- a/intern/cycles/blender/addon/ui.py
+++ b/intern/cycles/blender/addon/ui.py
@@ -313,10 +313,11 @@ class CYCLES_RENDER_PT_sampling_path_guiding(CyclesButtonsPanel, Panel):
layout.use_property_decorate = False
layout.active = cscene.use_guiding
+ layout.prop(cscene, "guiding_training_samples")
+
col = layout.column(align=True)
- col.prop(cscene, "use_surface_guiding")
- col.prop(cscene, "use_volume_guiding")
- col.prop(cscene, "guiding_training_samples")
+ col.prop(cscene, "use_surface_guiding", text="Surface")
+ col.prop(cscene, "use_volume_guiding", text="Volume")
class CYCLES_RENDER_PT_sampling_path_guiding_debug(CyclesDebugButtonsPanel, Panel):
More information about the Bf-blender-cvs
mailing list