Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2009-08-12 14:58:22 +0000
committerStijn Buys <ingar@osirion.org>2009-08-12 14:58:22 +0000
commite8f928ab56d581cb06ec10c2da2cb6706bca6bb3 (patch)
treeabd47ccee36625ad48957b56a5c6a79ff8d433ea /src/model/material.cc
parent496a8de5147b79c47b4e6412794e6437a2b31e33 (diff)
corrected .map texture coordinates
Diffstat (limited to 'src/model/material.cc')
-rw-r--r--src/model/material.cc4
1 files changed, 3 insertions, 1 deletions
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)