From 80fc8538be9098aa7b9d7fb09bdaef5b3aace627 Mon Sep 17 00:00:00 2001 From: Kim Kulling Date: Sat, 3 Apr 2021 10:29:16 +0200 Subject: [PATCH] Update AMFImporter_Material.cpp --- code/AssetLib/AMF/AMFImporter_Material.cpp | 3 --- 1 file changed, 3 deletions(-) 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."); }