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/editor_properties.cpp | |
parent | 482cdeaf718d77c24783a6b73281bfed886474ed (diff) |
Cleanup EditorNode and EditorData
Co-authored-by: Eric M <itsjusteza@gmail.com>
Diffstat (limited to 'editor/editor_properties.cpp')
-rw-r--r-- | editor/editor_properties.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/editor_properties.cpp b/editor/editor_properties.cpp index c6b369f201..d2b8883b8a 100644 --- a/editor/editor_properties.cpp +++ b/editor/editor_properties.cpp @@ -2806,8 +2806,8 @@ void EditorPropertyNodePath::_node_selected(const NodePath &p_path) { if (!base_node) { //try a base node within history - if (EditorNode::get_singleton()->get_editor_history()->get_path_size() > 0) { - Object *base = ObjectDB::get_instance(EditorNode::get_singleton()->get_editor_history()->get_path_object(0)); + if (EditorNode::get_singleton()->get_editor_selection_history()->get_path_size() > 0) { + Object *base = ObjectDB::get_instance(EditorNode::get_singleton()->get_editor_selection_history()->get_path_object(0)); if (base) { base_node = Object::cast_to<Node>(base); } |