From 315075c4a6bb3edcf84cafedffba6a1b8f97763d Mon Sep 17 00:00:00 2001 From: crasong Date: Thu, 22 May 2025 14:25:34 -0700 Subject: [PATCH] Add Missing Strings to aiTextureTypeToString (#6188) Anisotropy and gltf metallic roughness were missing strings Co-authored-by: Kim Kulling --- code/Common/material.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/Common/material.cpp b/code/Common/material.cpp index 1973a221b..bae26b690 100644 --- a/code/Common/material.cpp +++ b/code/Common/material.cpp @@ -98,6 +98,10 @@ const char *aiTextureTypeToString(aiTextureType in) { return "MayaSpecularColor"; case aiTextureType_MAYA_SPECULAR_ROUGHNESS: return "MayaSpecularRoughness"; + case aiTextureType_ANISOTROPY: + return "Anisotropy"; + case aiTextureType_GLTF_METALLIC_ROUGHNESS: + return "glTFMetallicRoughness"; case aiTextureType_UNKNOWN: return "Unknown"; default: