mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-21 07:46:58 +02:00
Don't add default field values when upgrading to a replacement preset (close #7613)
This commit is contained in:
@@ -63,7 +63,7 @@ export function validationOutdatedTags() {
|
||||
// upgrade preset..
|
||||
if (preset.replacement) {
|
||||
const newPreset = presetManager.item(preset.replacement);
|
||||
graph = actionChangePreset(entity.id, preset, newPreset)(graph);
|
||||
graph = actionChangePreset(entity.id, preset, newPreset, true /* skip field defaults */)(graph);
|
||||
entity = graph.entity(entity.id);
|
||||
preset = newPreset;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user