MCPcopy Create free account
hub / github.com/PlotJuggler/PlotJuggler / onLayerRemoved

Method onLayerRemoved

pj_app/src/ui/Scene3DConfigPanel.cpp:949–955  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

947}
948
949void 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
957void Scene3DConfigPanel::onLayerVisibilityChanged(ObjectTopicId topic_id, bool visible) {
958 layer_list_->setRowVisible(static_cast<qint64>(topic_id.id), visible);

Callers

nothing calls this directly

Calls 1

removeRowMethod · 0.80

Tested by

no test coverage detected