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:
parent
a4d2633ac6
commit
f54d209bc8
4 changed files with 0 additions and 32 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue