diff options
author | Stijn Buys <ingar@osirion.org> | 2009-11-02 23:50:09 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2009-11-02 23:50:09 +0000 |
commit | 3605a7bd8fffebfba38d31025b6f33cb82626a3b (patch) | |
tree | ef7cab404fcea2ecf7508a638211b58861c6539a | |
parent | 017826a21a5e8d5cf2c7ab93fdceac1cc49fcf25 (diff) |
ase loader: ignore caulk
-rw-r--r-- | src/model/asefile.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/model/asefile.cc b/src/model/asefile.cc index b0072d0..657d73c 100644 --- a/src/model/asefile.cc +++ b/src/model/asefile.cc @@ -107,6 +107,16 @@ Material *ASEFile::read_material(std::istream &is) while ((line.get(c)) && (c != '"')) n += c; + // ignore caulk + if (n.compare("common/caulk") == 0) { + material = 0; + continue; + } + if (n.compare("textures/common/caulk") == 0) { + material = 0; + continue; + } + // find material material = Material::find(n); if (!material) { |