fix: incorrect UV on custom model blocks
This commit is contained in:
@@ -269,12 +269,6 @@ void ContentLoader::loadBlock(
|
||||
} else if (def.modelName.empty()) {
|
||||
throw std::runtime_error(name + ": no 'model-primitives' or 'model-name' found");
|
||||
}
|
||||
for (uint i = 0; i < 6; i++) {
|
||||
std::string& texture = def.textureFaces[i];
|
||||
if (texture == TEXTURE_NOTFOUND) {
|
||||
texture = "";
|
||||
}
|
||||
}
|
||||
}
|
||||
def.model = *model;
|
||||
} else if (!modelTypeName.empty()) {
|
||||
|
||||
Reference in New Issue
Block a user