Don't add default field values when upgrading to a replacement preset (close #7613)

This commit is contained in:
Quincy Morgan
2020-05-19 10:26:53 -04:00
parent 7b09b6c0dc
commit 02f57eb23a
+1 -1
View File
@@ -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;
}