Update AMFImporter_Material.cpp
parent
d62c89557b
commit
80fc8538be
|
@ -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.");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue