Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ private Container createContentPane() {
infoTextArea.setWrapStyleWord(true);
infoTextArea.setFont(new Font("Monospaced", Font.PLAIN, 13));
infoTextArea.setText(I18N.getText("action.gatherDebugInfoWait"));
EventQueue.invokeLater(new InfoTextSwingWorker());
new InfoTextSwingWorker().execute();

JScrollPane scrollPane = new JScrollPane(infoTextArea);
scrollPane.setHorizontalScrollBarPolicy(31);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
import java.util.List;
import java.util.ListIterator;
import java.util.Set;
import net.rptools.maptool.client.ui.zone.RenderPathWorker;
import net.rptools.maptool.model.CellPoint;
import net.rptools.maptool.model.Path;
import net.rptools.maptool.model.Token.TerrainModifierOperation;
Expand All @@ -37,7 +36,6 @@ public abstract class AbstractZoneWalker implements ZoneWalker {
protected Area tokenPitVbl;
protected Area tokenCoverVbl;
protected Area tokenMbl;
protected RenderPathWorker renderPathWorker;

public AbstractZoneWalker(Zone zone) {
this.zone = zone;
Expand Down Expand Up @@ -118,11 +116,6 @@ public CellPoint replaceLastWaypoint(
return oldPartial.end;
}

public Path<CellPoint> getPath(RenderPathWorker renderPathWorker) {
this.renderPathWorker = renderPathWorker;
return getPath();
}

public Path<CellPoint> getPath() {
Path<CellPoint> path = new Path<>();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
import java.awt.geom.Area;
import java.util.Map;
import java.util.Set;
import net.rptools.maptool.client.ui.zone.RenderPathWorker;
import net.rptools.maptool.model.CellPoint;
import net.rptools.maptool.model.Path;
import net.rptools.maptool.model.Token.TerrainModifierOperation;
Expand Down Expand Up @@ -47,8 +46,6 @@ public CellPoint replaceLastWaypoint(

public Path<CellPoint> getPath();

public Path<CellPoint> getPath(RenderPathWorker renderPathWorker);

public CellPoint getLastPoint();

/**
Expand Down