From 211c8ae457d5d5f136cdb265325e6889292c53c1 Mon Sep 17 00:00:00 2001 From: Junior flores Date: Mon, 2 Oct 2023 20:19:21 -0500 Subject: [PATCH] filter by isEncodeImage --- .../plugins/devseed/JosmMagicWand/utils/SamImageGrid.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/org/openstreetmap/josm/plugins/devseed/JosmMagicWand/utils/SamImageGrid.java b/src/org/openstreetmap/josm/plugins/devseed/JosmMagicWand/utils/SamImageGrid.java index f1e28f7..87058b0 100644 --- a/src/org/openstreetmap/josm/plugins/devseed/JosmMagicWand/utils/SamImageGrid.java +++ b/src/org/openstreetmap/josm/plugins/devseed/JosmMagicWand/utils/SamImageGrid.java @@ -33,7 +33,9 @@ public SamImageGrid(int maxWidth) { } public void addSamImage(SamImage samImage) { - samImageList.add(samImage); + if (samImage.isEncodeImage()) { + samImageList.add(samImage); + } updateJpanel(); }