summaryrefslogtreecommitdiff
path: root/scene/2d
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-08-20 12:45:47 +0200
committerGitHub <noreply@github.com>2019-08-20 12:45:47 +0200
commit5d8951764ab88649663dcade2a040ff9a1951a56 (patch)
tree947a3e2c45748dae32ce44d4d6f0b57cc57ec19b /scene/2d
parent4e760096a947a5e5a87881e2a63947ea7c54915e (diff)
parent558e93f069d273f02f15b3b04921d09a3b30848d (diff)
Merge pull request #31466 from Calinou/improve-2d-path-editors
Improve the appearance of 2D path editors
Diffstat (limited to 'scene/2d')
-rw-r--r--scene/2d/path_2d.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/2d/path_2d.cpp b/scene/2d/path_2d.cpp
index f2f53d4354..55c8c7f229 100644
--- a/scene/2d/path_2d.cpp
+++ b/scene/2d/path_2d.cpp
@@ -110,7 +110,7 @@ void Path2D::_notification(int p_what) {
real_t frac = j / 8.0;
Vector2 p = curve->interpolate(i, frac);
- draw_line(prev_p, p, color, line_width);
+ draw_line(prev_p, p, color, line_width, true);
prev_p = p;
}
}