do not add found presets to recent

This commit is contained in:
Max Grossman
2018-12-17 14:56:33 -05:00
parent 4475964401
commit d8de9e785e
-2
View File
@@ -218,8 +218,6 @@ export function uiEntityEditor(context) {
// A "weak" preset doesn't set any tags. (e.g. "Address")
// Don't replace a weak preset with a fallback preset (e.g. "Point")
if (!(weakPreset && match.isFallback())) {
match.visible(true);
context.presets().choose(match);
entityEditor.preset(match);
}
entityEditor.modified(_base !== graph);