mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Merge pull request #113395 from mihe/objectdb-snapshot-crash
Fix crash when capturing ObjectDB snapshot
This commit is contained in:
commit
f5918a9d35
1 changed files with 7 additions and 5 deletions
|
|
@ -817,6 +817,7 @@ void SceneDebuggerObject::_parse_script_properties(Script *p_script, ScriptInsta
|
|||
|
||||
HashSet<String> exported_members;
|
||||
|
||||
if (p_instance) {
|
||||
List<PropertyInfo> pinfo;
|
||||
p_instance->get_property_list(&pinfo);
|
||||
for (const PropertyInfo &E : pinfo) {
|
||||
|
|
@ -824,6 +825,7 @@ void SceneDebuggerObject::_parse_script_properties(Script *p_script, ScriptInsta
|
|||
exported_members.insert(E.name);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Members
|
||||
for (KeyValue<const Script *, HashSet<StringName>> sm : members) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue