From 537aa0dcb38e400ae1fcc9c23023d37484191c4c Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Tue, 12 Jul 2011 11:28:36 +0000 Subject: Corrected the previous ASE bugfix which prevented ASE files from loading. --- src/model/asefile.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/model') 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; -- cgit v1.2.3