Skip to content
Snippets Groups Projects
Commit 2c2afd20 authored by Raphael Grimm's avatar Raphael Grimm
Browse files

Reduce the number of network calls done by RobotUnitGui

parent b2de1957
No related branches found
No related tags found
No related merge requests found
......@@ -108,9 +108,9 @@ namespace armarx
void NJointControllersWidget::onPushButtonStopAll_clicked()
{
for (auto& pair : entries)
if(robotUnit)
{
pair.second->deactivateController();
robotUnit->switchNJointControllerSetup({});
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment