diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-05-02 17:45:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-02 17:45:13 +0200 |
commit | 78193788d0e779e1471f632bae61adad4adbc078 (patch) | |
tree | 6e1d28ad398befd964bca92e2bd77dba8a802d76 /editor/plugins/polygon_2d_editor_plugin.h | |
parent | 652650c10c162a9d1e65099aa00bc4bf534a5bad (diff) | |
parent | c273ddc3eefce78f8eed86dbc71fffd1b0443e2a (diff) |
Merge pull request #59895 from akien-mga/clang-tidy
Diffstat (limited to 'editor/plugins/polygon_2d_editor_plugin.h')
-rw-r--r-- | editor/plugins/polygon_2d_editor_plugin.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/plugins/polygon_2d_editor_plugin.h b/editor/plugins/polygon_2d_editor_plugin.h index 4403d1e9c7..d878d3f9af 100644 --- a/editor/plugins/polygon_2d_editor_plugin.h +++ b/editor/plugins/polygon_2d_editor_plugin.h @@ -96,7 +96,7 @@ class Polygon2DEditor : public AbstractPolygon2DEditor { SpinBox *bone_paint_radius = nullptr; Label *bone_paint_radius_label = nullptr; bool bone_painting; - int bone_painting_bone; + int bone_painting_bone = 0; Vector<float> prev_weights; Vector2 bone_paint_pos; AcceptDialog *grid_settings = nullptr; @@ -110,7 +110,7 @@ class Polygon2DEditor : public AbstractPolygon2DEditor { Vector<Vector2> uv_create_uv_prev; Vector<Vector2> uv_create_poly_prev; Vector<Color> uv_create_colors_prev; - int uv_create_prev_internal_vertices; + int uv_create_prev_internal_vertices = 0; Array uv_create_bones_prev; Array polygons_prev; |