void StopWaiting() { Controller.waiting = false; var points = Controller.getCurrentPoints(); points[0].statusMode = points[1].statusMode; SplineController.Style.type = points[0].statusMode; }