mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 02:21:15 +00:00
Rename Variant::is_ref() to is_ref_counted()
This commit is contained in:
parent
8b8e858778
commit
7b0ed2aa5e
10 changed files with 15 additions and 15 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue