aboutsummaryrefslogtreecommitdiff
path: root/src/main_window.cc
diff options
context:
space:
mode:
authorccolin2021-01-03 13:27:01 +0100
committerccolin2021-01-03 13:27:20 +0100
commit7e0554bf65b9be61f3b73625d762a5043ad2af0f (patch)
tree09d8f976d428aa3676f7a9574da2689e30477361 /src/main_window.cc
parent928d45c3fbfb6b00d8e0b79b63934ebd080b9456 (diff)
collision sphere previsualization
Diffstat (limited to 'src/main_window.cc')
-rw-r--r--src/main_window.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main_window.cc b/src/main_window.cc
index cd85ae7..9680d94 100644
--- a/src/main_window.cc
+++ b/src/main_window.cc
@@ -87,6 +87,8 @@ void MainWindow::open(const QString &path) {
[&](double _) { settings_pane->clearCollisions(); });
connect(settings_pane, &SettingsPane::sphereRadiusChanged,
dc, &DroneController::computeCollisions);
+ connect(settings_pane, &SettingsPane::sphereRadiusChanged,
+ dc, &DroneController::displaySpheres);
settings_pane->setEnabled(true);
glw.setPainter(dc);