diff --git a/project/demos/FollowPath/Drawer.gd b/project/demos/FollowPath/Drawer.gd index 52a6c19..0f8e912 100644 --- a/project/demos/FollowPath/Drawer.gd +++ b/project/demos/FollowPath/Drawer.gd @@ -22,7 +22,8 @@ func _unhandled_input(event: InputEvent) -> void: update() elif not event.pressed: drawing = false - _simplify() + if active_points.size() >= 2: + _simplify() func _draw() -> void: