From f4ac678d58bf252b0f74d087ae0427cd3b36f733 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Mon, 14 Jan 2019 12:43:50 -0300 Subject: [PATCH] Removed ancient code for set_edited that was doing nothing. --- editor/editor_inspector.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/editor/editor_inspector.cpp b/editor/editor_inspector.cpp index 702e6a12e57..d2eb58a8634 100644 --- a/editor/editor_inspector.cpp +++ b/editor/editor_inspector.cpp @@ -1941,10 +1941,6 @@ void EditorInspector::_edit_set(const String &p_name, const Variant &p_value, bo Resource *r = Object::cast_to(object); if (r) { - if (!r->is_edited() && String(p_name) != "resource/edited") { - undo_redo->add_do_method(r, "set_edited", true); - undo_redo->add_undo_method(r, "set_edited", false); - } if (String(p_name) == "resource_local_to_scene") { bool prev = object->get(p_name);