diff options
author | Stijn Buys <ingar@osirion.org> | 2013-09-28 12:13:29 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2013-09-28 12:13:29 +0000 |
commit | 18dc1f6d0e044e5e4b1f3a40fcc65e532ec2e765 (patch) | |
tree | 0d6fe9eba4663bdfaa2901b158c5eca554cf1368 /src/model/asefile.cc | |
parent | b13e375c130066e2c9d0f34bc79b6b1ad0f0b449 (diff) |
Cleanup of the material API: split flags into flags and colortype.
Diffstat (limited to 'src/model/asefile.cc')
-rw-r--r-- | src/model/asefile.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/model/asefile.cc b/src/model/asefile.cc index 320d4b7..608dac3 100644 --- a/src/model/asefile.cc +++ b/src/model/asefile.cc @@ -583,7 +583,7 @@ bool ASEFile::read_geom(std::istream &is) size_t submaterial_index = (*smit).first; Material *material = (*smit).second; - if ((material->flags() & Material::Ignore) != Material::Ignore ) { + if (!material->ignore_is_set()) { // load GEOMOBJECT triangles with matching material into the fragment Fragment *fragment = new Fragment(Fragment::Triangles, material); |