From f18de8935ab8f62f3927b62e1386043f124d70bd Mon Sep 17 00:00:00 2001 From: Alexander Sytnyk Date: Fri, 25 Aug 2017 18:57:24 +0300 Subject: [PATCH] Add small fix --- .../osmand/plus/measurementtool/MeasurementEditingContext.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/OsmAnd/src/net/osmand/plus/measurementtool/MeasurementEditingContext.java b/OsmAnd/src/net/osmand/plus/measurementtool/MeasurementEditingContext.java index 811dcd1106..75198f116f 100644 --- a/OsmAnd/src/net/osmand/plus/measurementtool/MeasurementEditingContext.java +++ b/OsmAnd/src/net/osmand/plus/measurementtool/MeasurementEditingContext.java @@ -209,6 +209,8 @@ public class MeasurementEditingContext { cache.points.addAll(Arrays.asList(pair.first, pair.second)); } } + } else { + cache.points.addAll(original.points); } }