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
diff options
context:
space:
mode:
authorThomas Dinges <blender@dingto.org>2022-01-20 16:34:20 +0300
committerThomas Dinges <blender@dingto.org>2022-01-20 16:34:20 +0300
commit264fe10ddde9f69efb2bc5288c8bb5689373aa57 (patch)
tree549ec0b7a556c8e3ff7b21aa28621da16f7b76e8
parent969a571e0fbf9a91be87c671e446f04115a13672 (diff)
Cleanup: Remove unused python helper function.
Branched Path has been removed with the Cycles X merge.
-rw-r--r--intern/cycles/blender/addon/ui.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/intern/cycles/blender/addon/ui.py b/intern/cycles/blender/addon/ui.py
index ddef3f63641..5b600692152 100644
--- a/intern/cycles/blender/addon/ui.py
+++ b/intern/cycles/blender/addon/ui.py
@@ -119,12 +119,6 @@ def use_optix(context):
return (get_device_type(context) == 'OPTIX' and cscene.device == 'GPU')
-def use_sample_all_lights(context):
- cscene = context.scene.cycles
-
- return cscene.sample_all_lights_direct or cscene.sample_all_lights_indirect
-
-
def show_device_active(context):
cscene = context.scene.cycles
if cscene.device != 'GPU':