diff options
| author | Rémi Verschelde | 2017-12-07 09:18:11 +0100 |
|---|---|---|
| committer | GitHub | 2017-12-07 09:18:11 +0100 |
| commit | 96dbf19093cfc88aa688d4321fd07c2fb9afb259 (patch) | |
| tree | d5d31273dc27f2a864bdf8620ddd2fe0a8facff5 /editor/plugins/polygon_2d_editor_plugin.cpp | |
| parent | 5e19fac9872e8ba24a65bf6f9de2fdf9fa360358 (diff) | |
| parent | 13c2ff932089db24841bb971b645141218bd8586 (diff) | |
| download | godot-96dbf19093cfc88aa688d4321fd07c2fb9afb259.tar.gz godot-96dbf19093cfc88aa688d4321fd07c2fb9afb259.tar.zst godot-96dbf19093cfc88aa688d4321fd07c2fb9afb259.zip | |
Merge pull request #14332 from akien-mga/clang-format
Update style for clang-format 5.0.0, new min required version
Diffstat (limited to 'editor/plugins/polygon_2d_editor_plugin.cpp')
| -rw-r--r-- | editor/plugins/polygon_2d_editor_plugin.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/editor/plugins/polygon_2d_editor_plugin.cpp b/editor/plugins/polygon_2d_editor_plugin.cpp index ebb5f57e9..25e734187 100644 --- a/editor/plugins/polygon_2d_editor_plugin.cpp +++ b/editor/plugins/polygon_2d_editor_plugin.cpp @@ -459,8 +459,8 @@ Vector2 Polygon2DEditor::snap_point(Vector2 p_target) const { return p_target; } -Polygon2DEditor::Polygon2DEditor(EditorNode *p_editor) - : AbstractPolygon2DEditor(p_editor) { +Polygon2DEditor::Polygon2DEditor(EditorNode *p_editor) : + AbstractPolygon2DEditor(p_editor) { snap_step = Vector2(10, 10); use_snap = false; @@ -609,6 +609,6 @@ Polygon2DEditor::Polygon2DEditor(EditorNode *p_editor) uv_edit_draw->set_clip_contents(true); } -Polygon2DEditorPlugin::Polygon2DEditorPlugin(EditorNode *p_node) - : AbstractPolygon2DEditorPlugin(p_node, memnew(Polygon2DEditor(p_node)), "Polygon2D") { +Polygon2DEditorPlugin::Polygon2DEditorPlugin(EditorNode *p_node) : + AbstractPolygon2DEditorPlugin(p_node, memnew(Polygon2DEditor(p_node)), "Polygon2D") { } |
