diff options
-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) { |