Removed ancient code for set_edited that was doing nothing.

This commit is contained in:
Juan Linietsky 2019-01-14 12:43:50 -03:00
parent 0222841357
commit f4ac678d58

View File

@ -1941,10 +1941,6 @@ void EditorInspector::_edit_set(const String &p_name, const Variant &p_value, bo
Resource *r = Object::cast_to<Resource>(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);