[Bf-blender-cvs] [0610cdcb86f] soc-2022-many-lights-sampling: Enable many light sampling by default, don't mark as experimental feature

Brecht Van Lommel noreply at git.blender.org
Mon Oct 24 17:03:43 CEST 2022


Commit: 0610cdcb86f452d5a7f6a4bcf12c1288e111921e
Author: Brecht Van Lommel
Date:   Mon Oct 24 16:20:26 2022 +0200
Branches: soc-2022-many-lights-sampling
https://developer.blender.org/rB0610cdcb86f452d5a7f6a4bcf12c1288e111921e

Enable many light sampling by default, don't mark as experimental feature

This is intended to land in master in a state where it's ready to use. And for
benchmark comparisons it's easy to have it enabled by default, but we may still
revisit this.

===================================================================

M	intern/cycles/blender/addon/properties.py
M	intern/cycles/blender/addon/ui.py

===================================================================

diff --git a/intern/cycles/blender/addon/properties.py b/intern/cycles/blender/addon/properties.py
index d9161927325..d81bd1ff3a5 100644
--- a/intern/cycles/blender/addon/properties.py
+++ b/intern/cycles/blender/addon/properties.py
@@ -483,7 +483,7 @@ class CyclesRenderSettings(bpy.types.PropertyGroup):
     use_light_tree: BoolProperty(
         name="Light Tree",
         description="Samples many lights more efficiently",
-        default=False,
+        default=True,
     )
 
     splitting_threshold: FloatProperty(
diff --git a/intern/cycles/blender/addon/ui.py b/intern/cycles/blender/addon/ui.py
index 86d50976fe6..14018228f29 100644
--- a/intern/cycles/blender/addon/ui.py
+++ b/intern/cycles/blender/addon/ui.py
@@ -385,10 +385,6 @@ class CYCLES_RENDER_PT_sampling_light_tree(CyclesButtonsPanel, Panel):
     bl_parent_id = "CYCLES_RENDER_PT_sampling"
     bl_options = {'DEFAULT_CLOSED'}
 
-    @classmethod
-    def poll(cls, context):
-        return (context.scene.cycles.feature_set == 'EXPERIMENTAL')
-
     def draw_header(self, context):
         layout = self.layout
         scene = context.scene



More information about the Bf-blender-cvs mailing list