1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-11 13:10:58 +00:00

Fix regressions regarding multiple remote object selection

This commit is contained in:
Michael Alexsander
2025-03-24 18:07:12 -03:00
parent 6b5b84c0c5
commit d01d40490f
6 changed files with 25 additions and 26 deletions

View File

@@ -271,7 +271,7 @@ EditorDebuggerRemoteObjects *EditorDebuggerInspector::set_objects(const Array &p
remote_objects->prop_list.clear();
int new_props_added = 0;
HashSet<String> changed;
for (const KeyValue<String, UsageData> &KV : usage) {
for (KeyValue<String, UsageData> &KV : usage) {
const PropertyInfo &pinfo = KV.value.prop.first;
Variant var = KV.value.values[remote_objects->remote_object_ids[0]];
@@ -287,6 +287,7 @@ EditorDebuggerRemoteObjects *EditorDebuggerInspector::set_objects(const Array &p
}
}
var = ResourceLoader::load(path);
KV.value.values[remote_objects->remote_object_ids[0]] = var;
if (pinfo.hint_string == "Script") {
if (remote_objects->get_script() != var) {