diff --git a/code/AssetLib/AMF/AMFImporter_Material.cpp b/code/AssetLib/AMF/AMFImporter_Material.cpp index 6b9300bfa..6d93a43b6 100644 --- a/code/AssetLib/AMF/AMFImporter_Material.cpp +++ b/code/AssetLib/AMF/AMFImporter_Material.cpp @@ -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."); }