diff options
author | Juan Linietsky <reduzio@gmail.com> | 2023-01-11 18:28:52 +0100 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2023-01-11 18:28:52 +0100 |
commit | 9a966b95ec2f521b1ab3c4e6c8456cfe08bbc08b (patch) | |
tree | 356727aa6fa80721447a04ba65f4a0a9681dc4fc /editor | |
parent | f73cb4c13d1bc19b044fbef735522e3b0249e8ab (diff) |
Fix recursive resource inclusion check
I forgot a line of code.
Fixes #71194.
Diffstat (limited to 'editor')
-rw-r--r-- | editor/editor_properties.cpp | 2 |
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: { } |