Merge pull request #58182 from akien-mga/style-cleanup-if-semicolons-deadcode

This commit is contained in:
Rémi Verschelde 2022-02-16 16:55:07 +01:00 committed by GitHub
commit 51a00c2855
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
137 changed files with 847 additions and 1269 deletions

View file

@ -1070,7 +1070,7 @@ void Polygon2DEditor::_uv_draw() {
if (uv_create && i == uvs.size() - 1) {
next_point = uv_create_to;
}
if (i < uv_draw_max /*&& polygons.size() == 0 && polygon_create.size() == 0*/) { //if using or creating polygons, do not show outline (will show polygons instead)
if (i < uv_draw_max) { // If using or creating polygons, do not show outline (will show polygons instead).
uv_edit_draw->draw_line(mtx.xform(uvs[i]), mtx.xform(next_point), poly_line_color, Math::round(EDSCALE));
}
}