From e39ff32e4dfc930576699bd40219ed412cf34410 Mon Sep 17 00:00:00 2001 From: Alex Purdy Date: Fri, 19 Jul 2019 13:57:50 -0700 Subject: [PATCH] Fix bump map read to wrong field --- fast_obj.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fast_obj.h b/fast_obj.h index 2f7f4a4..8b12086 100644 --- a/fast_obj.h +++ b/fast_obj.h @@ -1076,7 +1076,7 @@ int read_mtllib(fastObjData* data, void* file) p[3] == 'p' && is_whitespace(p[4])) { - p = read_map(data, p + 4, &mtl.map_d); + p = read_map(data, p + 4, &mtl.map_bump); } } break;