summaryrefslogtreecommitdiff
path: root/editor/plugins/polygon_2d_editor_plugin.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-05-02 17:45:13 +0200
committerGitHub <noreply@github.com>2022-05-02 17:45:13 +0200
commit78193788d0e779e1471f632bae61adad4adbc078 (patch)
tree6e1d28ad398befd964bca92e2bd77dba8a802d76 /editor/plugins/polygon_2d_editor_plugin.h
parent652650c10c162a9d1e65099aa00bc4bf534a5bad (diff)
parentc273ddc3eefce78f8eed86dbc71fffd1b0443e2a (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.h4
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;