diff options
author | Stijn Buys <ingar@osirion.org> | 2011-07-12 11:28:36 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2011-07-12 11:28:36 +0000 |
commit | 537aa0dcb38e400ae1fcc9c23023d37484191c4c (patch) | |
tree | 0eaf0e2efee6fa918710cd428622b4aca3eb65d9 /src | |
parent | 0e195240e5793c4bc71a694368122bc21660a21d (diff) |
Corrected the previous ASE bugfix which prevented ASE files from loading.
Diffstat (limited to 'src')
-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 0a10d04..320d4b7 100644 --- a/src/model/asefile.cc +++ b/src/model/asefile.cc @@ -654,7 +654,7 @@ Model *ASEFile::load(const std::string &name) { ASEFile asefile(name); - if (!asefile.is_open() || !asefile.read() || asefile.fragmentgroup()->size()) { + if (!asefile.is_open() || !asefile.read() || !asefile.fragmentgroup()->size()) { // the fragmentgroup is not deleted by the destructor delete asefile.fragmentgroup(); return 0; |