diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-09-13 10:50:02 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-09-13 10:50:02 +0300 |
commit | 9d336576b546ebf3ad1628e9e1f6f732207ee76d (patch) | |
tree | 3c6b6fe4f2c6cca720347e361ea7f8a0e3ec16ac /intern/cycles | |
parent | e0394761b954759f8723bdc8f4a1686bf70954ed (diff) |
Cleanup: clang-format
Diffstat (limited to 'intern/cycles')
-rw-r--r-- | intern/cycles/render/light.cpp | 2 |
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) { |