From 582b9226a5fe86c681e72362dc7b4fcf88a594c6 Mon Sep 17 00:00:00 2001 From: Sanchikuuus Date: Mon, 22 May 2023 21:17:19 +0300 Subject: [PATCH] Update utMaterialSystem.cpp Now new enumerators are handled by a case label in utMaterialSystem.cpp --- test/unit/utMaterialSystem.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/unit/utMaterialSystem.cpp b/test/unit/utMaterialSystem.cpp index a84ae8333..2b5e831de 100644 --- a/test/unit/utMaterialSystem.cpp +++ b/test/unit/utMaterialSystem.cpp @@ -260,6 +260,10 @@ TEST_F(MaterialSystemTest, testMaterialTextureTypeEnum) { case aiTextureType_METALNESS: case aiTextureType_DIFFUSE_ROUGHNESS: case aiTextureType_AMBIENT_OCCLUSION: + case aiTextureType_MAYA_BASE: + case aiTextureType_MAYA_SPECULAR: + case aiTextureType_MAYA_SPECULAR_COLOR: + case aiTextureType_MAYA_SPECULAR_ROUGHNESS: case aiTextureType_SHEEN: case aiTextureType_CLEARCOAT: case aiTextureType_TRANSMISSION: