mirror of
https://github.com/godotengine/godot.git
synced 2025-10-28 20:24:41 +00:00
Style: Apply clang-tidy to current code, add readability-redundant-member-init
This commit is contained in:
parent
1abb5ebf65
commit
b78aa4fe19
13 changed files with 23 additions and 40 deletions
|
|
@ -56,10 +56,7 @@ void Line2DEditor::_action_set_polygon(int p_idx, const Variant &p_previous, con
|
|||
undo_redo->add_undo_method(node, "set_points", p_previous);
|
||||
}
|
||||
|
||||
Line2DEditor::Line2DEditor() :
|
||||
AbstractPolygon2DEditor() {
|
||||
node = nullptr;
|
||||
}
|
||||
Line2DEditor::Line2DEditor() {}
|
||||
|
||||
Line2DEditorPlugin::Line2DEditorPlugin() :
|
||||
AbstractPolygon2DEditorPlugin(memnew(Line2DEditor), "Line2D") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue