Skip to content
Snippets Groups Projects
Commit afecb727 authored by Fabian Reister's avatar Fabian Reister
Browse files

brackets

parent cd7072f9
No related branches found
No related merge requests found
...@@ -338,8 +338,9 @@ void GraspPlannerWindow::loadObject(const string& objFile) ...@@ -338,8 +338,9 @@ void GraspPlannerWindow::loadObject(const string& objFile)
if (robotObject) { if (robotObject) {
for (auto robotNode : robotObject->getRobotNodes()) { for (auto robotNode : robotObject->getRobotNodes()) {
if (robotNode->getVisualization()) { if (robotNode->getVisualization()) {
if (!object) if (!object){
object = robotNode; object = robotNode;
}
UI.comboBoxObject->addItem(QString::fromStdString(robotNode->getName())); UI.comboBoxObject->addItem(QString::fromStdString(robotNode->getName()));
} }
} }
......
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