Explorar o código

Fix recursive resource inclusion check

I forgot a line of code.

Fixes #71194.
Juan Linietsky %!s(int64=2) %!d(string=hai) anos
pai
achega
9a966b95ec
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      editor/editor_properties.cpp

+ 2 - 0
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: {
 		}