From 3605a7bd8fffebfba38d31025b6f33cb82626a3b Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Mon, 2 Nov 2009 23:50:09 +0000 Subject: ase loader: ignore caulk --- src/model/asefile.cc | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/model') 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) { -- cgit v1.2.3