浏览代码

Update AMFImporter_Material.cpp

Kim Kulling 4 年之前
父节点
当前提交
80fc8538be
共有 1 个文件被更改,包括 0 次插入3 次删除
  1. 0 3
      code/AssetLib/AMF/AMFImporter_Material.cpp

+ 0 - 3
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.");
     }