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:
authorCampbell Barton <ideasman42@gmail.com>2021-09-13 10:50:02 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-09-13 10:50:02 +0300
commit9d336576b546ebf3ad1628e9e1f6f732207ee76d (patch)
tree3c6b6fe4f2c6cca720347e361ea7f8a0e3ec16ac /intern/cycles/render/light.cpp
parente0394761b954759f8723bdc8f4a1686bf70954ed (diff)
Cleanup: clang-format
Diffstat (limited to 'intern/cycles/render/light.cpp')
-rw-r--r--intern/cycles/render/light.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/render/light.cpp b/intern/cycles/render/light.cpp
index 5f9764cd1cc..15aa4e047b5 100644
--- a/intern/cycles/render/light.cpp
+++ b/intern/cycles/render/light.cpp
@@ -413,7 +413,7 @@ void LightManager::device_update_distribution(Device *,
/* point lights */
bool use_lamp_mis = false;
int light_index = 0;
-
+
if (num_lights > 0) {
float lightarea = (totarea > 0.0f) ? totarea / num_lights : 1.0f;
foreach (Light *light, scene->lights) {