Просмотр исходного кода

Fix recursive resource inclusion check

I forgot a line of code.

Fixes #71194.
Juan Linietsky 2 лет назад
Родитель
Сommit
9a966b95ec
1 измененных файлов с 2 добавлено и 0 удалено
  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: {
 		}