diff options
author | Stijn Buys <ingar@osirion.org> | 2009-08-11 11:49:12 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2009-08-11 11:49:12 +0000 |
commit | 25bcd92706ce2cd6aee24cfb81e9ff2fd7dd4820 (patch) | |
tree | 19e71f817ffc36247f4db718454f3634904284b0 /src/model/material.cc | |
parent | a2ae048571310e80ba7502f1d81b5dd2eb1e38fa (diff) |
misc_model support
Diffstat (limited to 'src/model/material.cc')
-rw-r--r-- | src/model/material.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/model/material.cc b/src/model/material.cc index 7d278f9..c35740f 100644 --- a/src/model/material.cc +++ b/src/model/material.cc @@ -163,6 +163,7 @@ void Material::load_shader(const std::string &shadername) // texture name should not contain spaces if (linestream >> firstword) { + // FIXME remve extension material->set_texture(firstword); material->set_flags(Material::Texture); } else { |