summaryrefslogtreecommitdiff
path: root/modules/lightmapper_rd
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2020-12-08 20:58:49 +0200
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2020-12-09 10:17:53 +0200
commit644f73966002589c36d779fa33b9524a451f56e0 (patch)
tree58b5f8b90e48771dd211a39a8aeba231d6483475 /modules/lightmapper_rd
parent90bdba576af2d5f0a8ecdbef065d6ef0075bc2f2 (diff)
Static analyzer fixes:
Removes unused code in OS. Fixes return types. Fixes few typos.
Diffstat (limited to 'modules/lightmapper_rd')
-rw-r--r--modules/lightmapper_rd/lightmapper_rd.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/lightmapper_rd/lightmapper_rd.cpp b/modules/lightmapper_rd/lightmapper_rd.cpp
index 49ae6e28b2..66995382e7 100644
--- a/modules/lightmapper_rd/lightmapper_rd.cpp
+++ b/modules/lightmapper_rd/lightmapper_rd.cpp
@@ -447,7 +447,6 @@ void LightmapperRD::_create_acceleration_structures(RenderingDevice *rd, Size2i
if (cell != last_cell) {
//cell changed, update pointer to indices
giw[cell * 2 + 1] = i;
- last_cell = cell;
solidw[cell] = true;
}
tiw[i] = triangle_sort[i].triangle_index;