forked from Mirrorlandia_minetest/minetest
parent
a4a377ecad
commit
35267406aa
@ -1208,17 +1208,17 @@ bool TextureSource::generateImagePart(std::string part_of_name,
|
|||||||
#endif
|
#endif
|
||||||
if (image == NULL) {
|
if (image == NULL) {
|
||||||
if (part_of_name != "") {
|
if (part_of_name != "") {
|
||||||
if (part_of_name.find("_normal.png") == std::string::npos){
|
|
||||||
errorstream<<"generateImage(): Could not load image \""
|
// Do not create normalmap dummies
|
||||||
<<part_of_name<<"\""<<" while building texture"<<std::endl;
|
if (part_of_name.find("_normal.png") != std::string::npos) {
|
||||||
errorstream<<"generateImage(): Creating a dummy"
|
warningstream << "generateImage(): Could not load normal map \""
|
||||||
<<" image for \""<<part_of_name<<"\""<<std::endl;
|
|
||||||
} else {
|
|
||||||
infostream<<"generateImage(): Could not load normal map \""
|
|
||||||
<< part_of_name << "\"" << std::endl;
|
<< part_of_name << "\"" << std::endl;
|
||||||
infostream<<"generateImage(): Creating a dummy"
|
return true;
|
||||||
<<" normal map for \""<<part_of_name<<"\""<<std::endl;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
errorstream << "generateImage(): Could not load image \""
|
||||||
|
<< part_of_name << "\" while building texture; "
|
||||||
|
"Creating a dummy image" << std::endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Just create a dummy image
|
// Just create a dummy image
|
||||||
|
Loading…
Reference in New Issue
Block a user