diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-06-10 23:16:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-10 23:16:10 +0200 |
commit | a795a36ef55a847de3249f5f91478dca6508ea9b (patch) | |
tree | 6c2f92318cdc395b2e830f18960b21035daf3dec /scene/gui/graph_edit.cpp | |
parent | bc1fcb9c659c573a38347088ccda3640fe2ae4c8 (diff) | |
parent | f38fe846f47f59717c36d7e3f72fb7126a23ab99 (diff) |
Merge pull request #49493 from madmiraal/graph_edit-default-in-declaration
Move default values from definition to declaration in GraphEdit
Diffstat (limited to 'scene/gui/graph_edit.cpp')
-rw-r--r-- | scene/gui/graph_edit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/graph_edit.cpp b/scene/gui/graph_edit.cpp index 5a4dacd897..78ab30699a 100644 --- a/scene/gui/graph_edit.cpp +++ b/scene/gui/graph_edit.cpp @@ -824,7 +824,7 @@ void GraphEdit::_bake_segment2d(Vector<Vector2> &points, Vector<Color> &colors, } } -void GraphEdit::_draw_cos_line(CanvasItem *p_where, const Vector2 &p_from, const Vector2 &p_to, const Color &p_color, const Color &p_to_color, float p_width, float p_bezier_ratio = 1.0) { +void GraphEdit::_draw_cos_line(CanvasItem *p_where, const Vector2 &p_from, const Vector2 &p_to, const Color &p_color, const Color &p_to_color, float p_width, float p_bezier_ratio) { //cubic bezier code float diff = p_to.x - p_from.x; float cp_offset; |