diff options
author | randomdan <randomdan@localhost> | 2012-02-27 15:24:23 +0000 |
---|---|---|
committer | randomdan <randomdan@localhost> | 2012-02-27 15:24:23 +0000 |
commit | 642ff1fa58974ee1414c6fca855c787632218a15 (patch) | |
tree | dd9d069f651746bcbd280638f2262a928568c9f9 | |
parent | Fix the transaction handling in taskHost in error situations (diff) | |
download | project2-642ff1fa58974ee1414c6fca855c787632218a15.tar.bz2 project2-642ff1fa58974ee1414c6fca855c787632218a15.tar.xz project2-642ff1fa58974ee1414c6fca855c787632218a15.zip |
Fire the loadComplete function after loading a cached object
-rw-r--r-- | project2/common/scriptLoader.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/project2/common/scriptLoader.cpp b/project2/common/scriptLoader.cpp index 360076c..9b1a36d 100644 --- a/project2/common/scriptLoader.cpp +++ b/project2/common/scriptLoader.cpp @@ -100,6 +100,11 @@ LoaderBase::collectAll(ScriptNodePtr node, bool childrenOnly, const StorerPtrs & } } } + else { + if (SourceObjectPtr p = boost::dynamic_pointer_cast<SourceObject>(node->obj)) { + LoaderBase::loadedObjects.insert(p); + } + } if (!node->obj) { throw NotSupported(node->get_name()); } |