diff options
author | Hendrik Brucker <hendrik.brucker@mail.de> | 2022-03-30 20:12:26 +0200 |
---|---|---|
committer | Hendrik Brucker <hendrik.brucker@mail.de> | 2022-03-30 20:12:26 +0200 |
commit | 314430b868be430fbd7fa3ffb0d8c0ee17d712d1 (patch) | |
tree | cd3f0ba1035456d38abdfbe9183b4d06a4fdf76b /editor/debugger/editor_debugger_inspector.cpp | |
parent | 482cdeaf718d77c24783a6b73281bfed886474ed (diff) | |
download | redot-engine-314430b868be430fbd7fa3ffb0d8c0ee17d712d1.tar.gz |
Cleanup EditorNode and EditorData
Co-authored-by: Eric M <itsjusteza@gmail.com>
Diffstat (limited to 'editor/debugger/editor_debugger_inspector.cpp')
-rw-r--r-- | editor/debugger/editor_debugger_inspector.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/debugger/editor_debugger_inspector.cpp b/editor/debugger/editor_debugger_inspector.cpp index c111190ca3..936b8ca626 100644 --- a/editor/debugger/editor_debugger_inspector.cpp +++ b/editor/debugger/editor_debugger_inspector.cpp @@ -206,7 +206,7 @@ ObjectID EditorDebuggerInspector::add_object(const Array &p_arr) { void EditorDebuggerInspector::clear_cache() { for (const KeyValue<ObjectID, EditorDebuggerRemoteObject *> &E : remote_objects) { EditorNode *editor = EditorNode::get_singleton(); - if (editor->get_editor_history()->get_current() == E.value->get_instance_id()) { + if (editor->get_editor_selection_history()->get_current() == E.value->get_instance_id()) { editor->push_item(nullptr); } memdelete(E.value); |