Merge pull request #11226 from michalzielanski/modify-geometry-collection-bugfix

By modifying the common vertex, not all geometries were changed when …
This commit is contained in:
Tim Schaub
2020-06-29 08:23:24 -06:00
committed by GitHub
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