summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2023-01-11 18:28:52 +0100
committerJuan Linietsky <reduzio@gmail.com>2023-01-11 18:28:52 +0100
commit9a966b95ec2f521b1ab3c4e6c8456cfe08bbc08b (patch)
tree356727aa6fa80721447a04ba65f4a0a9681dc4fc /editor
parentf73cb4c13d1bc19b044fbef735522e3b0249e8ab (diff)
Fix recursive resource inclusion check
I forgot a line of code. Fixes #71194.
Diffstat (limited to 'editor')
-rw-r--r--editor/editor_properties.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/editor_properties.cpp b/editor/editor_properties.cpp
index 8ef394a59f..3a46ff6168 100644
--- a/editor/editor_properties.cpp
+++ b/editor/editor_properties.cpp
@@ -3805,6 +3805,8 @@ static bool _find_recursive_resources(const Variant &v, HashSet<Resource *> &res
return true;
}
}
+
+ resources_found.erase(r.ptr());
} break;
default: {
}