From e30685ab8321ad71e7e113a511dd357cd8d1cd9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mario=20Fern=C3=A1ndez=20Villalba?= Date: Mon, 11 Nov 2019 13:46:17 +0100 Subject: [PATCH] Fixed textures path on model loading --- Engine/ModuleModelLoader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Engine/ModuleModelLoader.cpp b/Engine/ModuleModelLoader.cpp index 479886199..c86772672 100644 --- a/Engine/ModuleModelLoader.cpp +++ b/Engine/ModuleModelLoader.cpp @@ -165,7 +165,7 @@ void ModuleModelLoader::LoadMaterialData(const aiMaterial *material, const GLuin return; } - std::string textures_path = std::string("./Textures/") + file.data; + std::string textures_path = std::string("./resources/textures/") + file.data; LOG("Loading material texture in textures folder %s.", textures_path.c_str()); if (App->texture->loadTexture(textures_path.c_str(), texture)) {