Commit in order to pull from Master.

This commit is contained in:
antc13
2016-01-19 18:21:27 +01:00
parent 3826142e94
commit e643581971
5 changed files with 13 additions and 11 deletions
+3 -1
View File
@@ -148,7 +148,9 @@ void RawModel::ReadMaterialSingle(unsigned int &offset, char* fileData, unsigned
throw Resource::FailedLoadingException("Reading Material texture path failed");
}
newMaterial.TexturePath = (fileData + offset);
newMaterial.TexturePath = "Textures/";
newMaterial.TexturePath += (fileData + offset);
newMaterial.TexturePath += ".png";
offset += nameLengths[0];
}