From 1983fb8fc2823c8cb7ca655edf5592246b4648fd Mon Sep 17 00:00:00 2001 From: Vincent Lejeune Date: Sat, 20 Sep 2014 01:53:15 +0200 Subject: [PATCH] Really fix detailmap --- src/graphics/material.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/graphics/material.cpp b/src/graphics/material.cpp index b72b6e96a..edb3bee81 100644 --- a/src/graphics/material.cpp +++ b/src/graphics/material.cpp @@ -805,10 +805,10 @@ void Material::setMaterialProperties(video::SMaterial *m, scene::IMeshBuffer* m if (mb && mb->getVertexType() == video::EVT_2TCOORDS) { m->setTexture(2, m->getTexture(1)); - m->setTexture(1, glossytex); if (!m->getTexture(2)) m->setTexture(2, getUnicolorTexture(SColor(255, 255, 255, 255))); } + m->setTexture(1, glossytex); }