| 947 | } |
| 948 | |
| 949 | void Scene3DConfigPanel::onLayerRemoved(ObjectTopicId topic_id) { |
| 950 | layer_list_->removeRow(static_cast<qint64>(topic_id.id)); |
| 951 | // Single removal path for robot rows: the bin button only calls removeTopic |
| 952 | // and this signal drops the row, so other teardown paths stay consistent. |
| 953 | removeRobotRowFor(topic_id.id); |
| 954 | updateSelectedLayerPane(); |
| 955 | } |
| 956 | |
| 957 | void Scene3DConfigPanel::onLayerVisibilityChanged(ObjectTopicId topic_id, bool visible) { |
| 958 | layer_list_->setRowVisible(static_cast<qint64>(topic_id.id), visible); |