Commit 24ce3927 authored by Björn Richerzhagen's avatar Björn Richerzhagen
Browse files

Deactivate Link-Vis again (used during debugging)

parent a50c8233
......@@ -162,13 +162,13 @@ public class TopologyComponentVis extends JComponent {
protected void toggleActive() {
active = !active;
if (active) {
lcVis = new LinkComponentVis(TopologyComponentVis.this);
VisualizationInjector.getWorldPanel().add(lcVis);
} else if (lcVis != null) {
VisualizationInjector.getWorldPanel().remove(lcVis);
}
VisualizationInjector.getWorldPanel().invalidate();
// if (active) {
// lcVis = new LinkComponentVis(TopologyComponentVis.this);
// VisualizationInjector.getWorldPanel().add(lcVis);
// } else if (lcVis != null) {
// VisualizationInjector.getWorldPanel().remove(lcVis);
// }
// VisualizationInjector.getWorldPanel().invalidate();
}
protected PositionVector getPosition() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment