summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-01-15 13:03:20 +0100
committerRémi Verschelde <rverschelde@gmail.com>2023-01-15 13:03:20 +0100
commit0f2937ead12de00b6c911110301fc2dc2e1d1988 (patch)
tree5ed6c61b2a953ad773b51c130501deff161c1781 /editor
parentcd3e03432af9a638e342b5b79f76ca4d72f2a1f4 (diff)
parent9a966b95ec2f521b1ab3c4e6c8456cfe08bbc08b (diff)
Merge pull request #71229 from reduz/fix-recursive-resource-inclusion-check
Fix recursive resource inclusion check
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 6c917a0c4f..f528053fee 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: {
}