From d39e79e7ec8e010c251d9df3ece7cb7675a2c7a5 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Thu, 31 Aug 2017 18:57:03 -0300 Subject: Fix issues regarding reload of resources in imported scenes. Closes #10017 --- core/io/resource_import.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/io/resource_import.cpp') diff --git a/core/io/resource_import.cpp b/core/io/resource_import.cpp index 69ff791a3..be486a86a 100644 --- a/core/io/resource_import.cpp +++ b/core/io/resource_import.cpp @@ -119,7 +119,7 @@ RES ResourceFormatImporter::load(const String &p_path, const String &p_original_ return RES(); } - RES res = ResourceLoader::load(pat.path, pat.type, false, r_error); + RES res = ResourceLoader::_load(pat.path, p_path, pat.type, false, r_error); #ifdef TOOLS_ENABLED if (res.is_valid()) { -- cgit v1.2.3-70-g09d2