summaryrefslogtreecommitdiff
path: root/editor/debugger
diff options
context:
space:
mode:
authorPedro J. Estébanez <pedrojrulez@gmail.com>2021-08-26 21:37:17 +0200
committerPedro J. Estébanez <pedrojrulez@gmail.com>2022-01-20 18:46:25 +0100
commit7b0ed2aa5e4b9d9807037d57f0fc80fe8dd6fb39 (patch)
tree8a0d5a5d7725280f4d0fb7aa81a867cfa319061f /editor/debugger
parent8b8e858778bbf9e0dad66335f351920332c547de (diff)
Rename Variant::is_ref() to is_ref_counted()
Diffstat (limited to 'editor/debugger')
-rw-r--r--editor/debugger/script_editor_debugger.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/debugger/script_editor_debugger.cpp b/editor/debugger/script_editor_debugger.cpp
index 4349ffc75b..ee844fff64 100644
--- a/editor/debugger/script_editor_debugger.cpp
+++ b/editor/debugger/script_editor_debugger.cpp
@@ -1121,7 +1121,7 @@ void ScriptEditorDebugger::_property_changed(Object *p_base, const StringName &p
NodePath path = editor->get_edited_scene()->get_path_to(node);
int pathid = _get_node_path_cache(path);
- if (p_value.is_ref()) {
+ if (p_value.is_ref_counted()) {
Ref<Resource> res = p_value;
if (res.is_valid() && !res->get_path().is_empty()) {
Array msg;
@@ -1147,7 +1147,7 @@ void ScriptEditorDebugger::_property_changed(Object *p_base, const StringName &p
String respath = res->get_path();
int pathid = _get_res_path_cache(respath);
- if (p_value.is_ref()) {
+ if (p_value.is_ref_counted()) {
Ref<Resource> res2 = p_value;
if (res2.is_valid() && !res2->get_path().is_empty()) {
Array msg;