Skip to content

Commit

Permalink
Fixed textures path on model loading
Browse files Browse the repository at this point in the history
  • Loading branch information
mariofv committed Nov 11, 2019
1 parent 6c35964 commit e30685a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Engine/ModuleModelLoader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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))
{
Expand Down

0 comments on commit e30685a

Please sign in to comment.