aboutsummaryrefslogtreecommitdiffstats
path: root/Scripts/drawing.gd
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Scripts/drawing.gd3
1 files changed, 3 insertions, 0 deletions
diff --git a/Scripts/drawing.gd b/Scripts/drawing.gd
index 832c42d..e99d4a0 100644
--- a/Scripts/drawing.gd
+++ b/Scripts/drawing.gd
@@ -16,6 +16,8 @@ func start_drawing():
func _end_drawing():
drawing = false
+ line.simplify()
+ line.draw_borders()
owner.set_driving(true)
@@ -30,4 +32,5 @@ func _input(event):
func reset():
line.clear_points()
+ line.clear_borders()
path.curve.clear_points()