diff options
| author | Pedro J. Estébanez <pedrojrulez@gmail.com> | 2021-06-04 18:03:15 +0200 |
|---|---|---|
| committer | Pedro J. Estébanez <pedrojrulez@gmail.com> | 2021-06-11 18:48:42 +0200 |
| commit | 04688b92fff1d6bbec9335b354f3751ddc473379 (patch) | |
| tree | f4d61f5877c7183bf6ded23878839b2124f6ecd4 /editor/editor_properties.cpp | |
| parent | fbb5a541ef30f41bb7814687e9cd9f11e991faa7 (diff) | |
| download | redot-engine-04688b92fff1d6bbec9335b354f3751ddc473379.tar.gz | |
Rename Reference to RefCounted
Diffstat (limited to 'editor/editor_properties.cpp')
| -rw-r--r-- | editor/editor_properties.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_properties.cpp b/editor/editor_properties.cpp index ece7094767..0feee447a4 100644 --- a/editor/editor_properties.cpp +++ b/editor/editor_properties.cpp @@ -2261,7 +2261,7 @@ void EditorPropertyNodePath::_node_selected(const NodePath &p_path) { base_node = get_edited_object()->call("get_root_path"); } - if (!base_node && Object::cast_to<Reference>(get_edited_object())) { + if (!base_node && Object::cast_to<RefCounted>(get_edited_object())) { Node *to_node = get_node(p_path); ERR_FAIL_COND(!to_node); path = get_tree()->get_edited_scene_root()->get_path_to(to_node); |
