Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2011-07-12 11:28:36 +0000
committerStijn Buys <ingar@osirion.org>2011-07-12 11:28:36 +0000
commit537aa0dcb38e400ae1fcc9c23023d37484191c4c (patch)
tree0eaf0e2efee6fa918710cd428622b4aca3eb65d9
parent0e195240e5793c4bc71a694368122bc21660a21d (diff)
Corrected the previous ASE bugfix which prevented ASE files from loading.
-rw-r--r--src/model/asefile.cc2
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;