From eba6f592060b5c50a8a65b236f8022ae03ebc6ee Mon Sep 17 00:00:00 2001 From: Richard Knight Date: Sat, 13 Mar 2021 08:21:43 +0000 Subject: [PATCH] Fix #25. Check for 'map_Bump' as well as 'map_bump'. --- fast_obj.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fast_obj.h b/fast_obj.h index 2e1ad1d..89bf099 100644 --- a/fast_obj.h +++ b/fast_obj.h @@ -1085,7 +1085,7 @@ int read_mtllib(fastObjData* data, void* file, const fastObjCallbacks* callbacks if (is_whitespace(*p)) p = read_map(data, p, &mtl.map_d); } - else if (p[0] == 'b' && + else if ((p[0] == 'b' || p[0] == 'B') && p[1] == 'u' && p[2] == 'm' && p[3] == 'p' &&