From 7e0554bf65b9be61f3b73625d762a5043ad2af0f Mon Sep 17 00:00:00 2001 From: ccolin Date: Sun, 3 Jan 2021 13:27:01 +0100 Subject: collision sphere previsualization --- 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 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); -- cgit v1.2.3-70-g09d2