diff options
Diffstat (limited to 'src/model')
-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; |