mirror of
https://github.com/godotengine/godot.git
synced 2025-10-27 19:54:27 +00:00
Merge pull request #58182 from akien-mga/style-cleanup-if-semicolons-deadcode
This commit is contained in:
commit
51a00c2855
137 changed files with 847 additions and 1269 deletions
|
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue