diff options
author | Thomas Dinges <blender@dingto.org> | 2014-05-02 03:26:13 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2014-05-02 03:27:10 +0400 |
commit | 9270aa92786a11229aead690ddd2adce9619b3bf (patch) | |
tree | 75ddd80f1d959d1d7d1d73876c47fa3f344749fe | |
parent | f61e8857066e7c6f4f4db9f6bda3c379661f0282 (diff) |
Cleanup: Remove unused variables.
-rw-r--r-- | intern/cycles/render/light.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/intern/cycles/render/light.cpp b/intern/cycles/render/light.cpp index cfc4f55ed5e..dd5694582e6 100644 --- a/intern/cycles/render/light.cpp +++ b/intern/cycles/render/light.cpp @@ -149,7 +149,6 @@ void LightManager::device_update_distribution(Device *device, DeviceScene *dscen size_t num_lights = scene->lights.size(); size_t num_background_lights = 0; size_t num_triangles = 0; - size_t num_curve_segments = 0; foreach(Object *object, scene->objects) { Mesh *mesh = object->mesh; @@ -184,7 +183,7 @@ void LightManager::device_update_distribution(Device *device, DeviceScene *dscen } } - size_t num_distribution = num_triangles + num_curve_segments; + size_t num_distribution = num_triangles; num_distribution += num_lights; /* emission area */ |