Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/model/asefile.cc10
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) {