Update AMFImporter_Material.cpp

pull/3736/head
Kim Kulling 2021-04-03 10:29:16 +02:00 committed by GitHub
parent d62c89557b
commit 80fc8538be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 3 deletions

View File

@ -185,9 +185,6 @@ void AMFImporter::ParseNode_Texture(XmlNode &node) {
if (height < 1) {
throw DeadlyImportError("Invalid height for texture.");
}
if (depth < 1) {
// throw DeadlyImportError("Invalid depth for texture.");
}
if (type != "grayscale") {
throw DeadlyImportError("Invalid type for texture.");
}