From e8f928ab56d581cb06ec10c2da2cb6706bca6bb3 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Wed, 12 Aug 2009 14:58:22 +0000 Subject: corrected .map texture coordinates --- src/model/material.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/model/material.cc') diff --git a/src/model/material.cc b/src/model/material.cc index 280ebba..f9f330d 100644 --- a/src/model/material.cc +++ b/src/model/material.cc @@ -43,8 +43,10 @@ void Material::set_texture(const std::string &texture) { material_texture.assign(texture); - if (material_loaderfunc) + if (material_loaderfunc) { material_loaderfunc(this); + //con_debug << " material " << name() << " " << size().width() << "x" << size().height() << std::endl; + } } void Material::set_texture_id(const size_t texture_id) -- cgit v1.2.3