1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-05 19:31:04 +00:00

Remove normal map leftovers (#15609)

leftovers from #10487 / ed22260822
This commit is contained in:
grorp 2024-12-31 19:28:57 +01:00 committed by GitHub
parent a4d2633ac6
commit f54d209bc8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 0 additions and 32 deletions

View file

@ -980,13 +980,6 @@ bool ImageSource::generateImagePart(std::string_view part_of_name,
if (part_of_name.empty())
return true;
// Do not create normalmap dummies
if (str_ends_with(part_of_name, "_normal.png")) {
warningstream << "generateImagePart(): Could not load normal map \""
<< part_of_name << "\"" << std::endl;
return true;
}
errorstream << "generateImagePart(): Could not load image \""
<< part_of_name << "\" while building texture; "
"Creating a dummy image" << std::endl;