Merge pull request #30576 from qarmin/lgtm_coverage
Changed some code reported by LGTM and Coverity
This commit is contained in:
commit
d15cf7b672
55 changed files with 94 additions and 202 deletions
|
|
@ -481,11 +481,6 @@ bool GridMap::_octant_update(const OctantKey &p_key) {
|
|||
|
||||
Transform xform;
|
||||
|
||||
if (clip && ((clip_above && cellpos[clip_axis] > clip_floor) || (!clip_above && cellpos[clip_axis] < clip_floor))) {
|
||||
|
||||
} else {
|
||||
}
|
||||
|
||||
xform.basis.set_orthogonal_index(c.rot);
|
||||
xform.set_origin(cellpos * cell_size + ofs);
|
||||
xform.basis.scale(Vector3(cell_scale, cell_scale, cell_scale));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue