You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-01 16:38:31 +00:00
Merge pull request #113395 from mihe/objectdb-snapshot-crash
Fix crash when capturing ObjectDB snapshot
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user