By modifying the common vertex, not all geometries were changed when the geometries were aggregated in the collection

This commit is contained in:
Michał Zielański
2020-06-29 10:48:17 +02:00
parent 4758b533d0
commit 3d9dfe2654
3 changed files with 100 additions and 5 deletions

View File

@@ -897,7 +897,7 @@ class Modify extends PointerInteraction {
for (let i = 0, ii = segmentDataMatches.length; i < ii; ++i) {
const segmentDataMatch = segmentDataMatches[i];
const segment = segmentDataMatch.segment;
let uid = getUid(segmentDataMatch.feature);
let uid = getUid(segmentDataMatch.geometry);
const depth = segmentDataMatch.depth;
if (depth) {
uid += '-' + depth.join('-'); // separate feature components