Skip to content

Commit 66e041d

Browse files
committed
Merge pull request godotengine#107114 from tehKaiN/fix-async-resource-loading-progress-on-empty-original-path
Fix async resource loading progress on empty `p_original_path`
2 parents 7d10c2a + 19a9415 commit 66e041d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/io/resource_loader.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ Ref<Resource> ResourceLoader::_load(const String &p_path, const String &p_origin
296296
// Avoid double-tracking, for progress reporting, resources that boil down to a remapped path containing the real payload (e.g., imported resources).
297297
bool is_remapped_load = original_path == parent_task_path;
298298
if (E && !is_remapped_load) {
299-
E->value.sub_tasks.insert(p_original_path);
299+
E->value.sub_tasks.insert(original_path);
300300
}
301301
}
302302
load_paths_stack.push_back(original_path);

0 commit comments

Comments
 (0)