From b899aa30c64853fc0d0269f3e162b7404dcc395c Mon Sep 17 00:00:00 2001 From: stanwiecb Date: Wed, 16 Jan 2019 15:47:34 +0800 Subject: [PATCH] fix bumpMap convert --- src/core/io/ObjLoader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/io/ObjLoader.cpp b/src/core/io/ObjLoader.cpp index 630f9083..73f48f5d 100644 --- a/src/core/io/ObjLoader.cpp +++ b/src/core/io/ObjLoader.cpp @@ -302,7 +302,7 @@ std::shared_ptr ObjLoader::convertObjMaterial(const ObjMaterial &mat) result = std::make_shared(texture, result); } if (mat.hasBumpMap()) { - PathPtr path = std::make_shared(mat.alphaMap); + PathPtr path = std::make_shared(mat.bumpMap); path->freezeWorkingDirectory(); auto texture = _textureCache->fetchTexture(path, TexelConversion::REQUEST_AVERAGE);