diff --git a/source/RobotAPI/gui-plugins/ArViz/LayerInfoTree.cpp b/source/RobotAPI/gui-plugins/ArViz/LayerInfoTree.cpp index 6bd501ff4df3a112eff7cb0a17f1eb2475f7087a..3245ae66c52e75bc663f5dae8128a7d102a0c6af 100644 --- a/source/RobotAPI/gui-plugins/ArViz/LayerInfoTree.cpp +++ b/source/RobotAPI/gui-plugins/ArViz/LayerInfoTree.cpp @@ -198,7 +198,8 @@ namespace armarx int index, const std::string& name, const viz::data::ElementPtr& element) { QTreeWidgetItem* item = new QTreeWidgetItem(QStringList { name.c_str(), getTypeName(element).c_str() }); - item->setCheckState(0, Qt::CheckState::Unchecked); + // To be used when we can hide specific elements. + // item->setCheckState(0, Qt::CheckState::Unchecked); widget->insertTopLevelItem(index, item); return item; } @@ -329,7 +330,8 @@ namespace armarx QTreeWidgetItem* LayerInfoTree::addJsonChild(QTreeWidgetItem* parent, const std::string& key) { QTreeWidgetItem* child = new QTreeWidgetItem(QStringList { key.c_str(), "" }); - child->setCheckState(0, Qt::CheckState::Unchecked); + // To be used when we can actually change the values (enabled = use value from GUI). + // child->setCheckState(0, Qt::CheckState::Unchecked); parent->addChild(child); return child;