From cbf29fc087179fbda1527d3c4cea82c2b8e9f695 Mon Sep 17 00:00:00 2001 From: ccolin Date: Sun, 3 Jan 2021 20:22:16 +0100 Subject: add option to draw support lines --- src/main_window.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main_window.cc') diff --git a/src/main_window.cc b/src/main_window.cc index 0471641..ac7bd58 100644 --- a/src/main_window.cc +++ b/src/main_window.cc @@ -91,6 +91,8 @@ void MainWindow::open(const QString &path) { dc, &DroneController::displaySpheres); connect(settings_pane, &SettingsPane::toggledTrajectories, dc, &DroneController::setDrawTrajectories); + connect(settings_pane, &SettingsPane::toggledSupportLines, + dc, &DroneController::setDrawSupportLines); settings_pane->setEnabled(true); glw.setPainter(dc); -- cgit v1.2.3-70-g09d2