summaryrefslogtreecommitdiffstats
path: root/modules/lightmapper_rd/lightmapper_rd.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-12-09 10:23:21 +0100
committerGitHub <noreply@github.com>2020-12-09 10:23:21 +0100
commit0c5d3b838c935e6121bcee57b83fa802d7058cc1 (patch)
treede206bf06d4f6fb280a427a2a907de93f0043bed /modules/lightmapper_rd/lightmapper_rd.cpp
parente5e1277ecd08f1f2980c9cd0490fb932efaa4678 (diff)
parent644f73966002589c36d779fa33b9524a451f56e0 (diff)
downloadredot-engine-0c5d3b838c935e6121bcee57b83fa802d7058cc1.tar.gz
Merge pull request #44199 from bruvzg/pvs_fixes_1
PVS-Studio static analyzer fixes
Diffstat (limited to 'modules/lightmapper_rd/lightmapper_rd.cpp')
-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;