Mercurial > hg > aimc
comparison src/Main/AIMCopy.cc @ 237:af02b6addf7a
- Added support for movies!
author | tomwalters |
---|---|
date | Thu, 21 Oct 2010 01:46:39 +0000 |
parents | af531fc3f280 |
children | d3968c3149b0 |
comparison
equal
deleted
inserted
replaced
236:4fb328f81012 | 237:af02b6addf7a |
---|---|
109 LOG_INFO("AIMCopy: Initializing tree for initial parameter write."); | 109 LOG_INFO("AIMCopy: Initializing tree for initial parameter write."); |
110 if (!tree_.Initialize(&global_parameters_)) { | 110 if (!tree_.Initialize(&global_parameters_)) { |
111 LOG_ERROR(_T("Failed to initialize tree.")); | 111 LOG_ERROR(_T("Failed to initialize tree.")); |
112 return false; | 112 return false; |
113 } | 113 } |
114 tree_.Reset(); | |
114 } else { | 115 } else { |
115 LOG_ERROR(_T("No input files in script.")); | 116 LOG_ERROR(_T("No input files in script.")); |
116 return false; | 117 return false; |
117 } | 118 } |
118 | 119 |
165 return false; | 166 return false; |
166 } | 167 } |
167 aimc::LOG_INFO(_T("%s -> %s"), | 168 aimc::LOG_INFO(_T("%s -> %s"), |
168 script_[i].first.c_str(), | 169 script_[i].first.c_str(), |
169 script_[i].second.c_str()); | 170 script_[i].second.c_str()); |
171 tree_.Process(); | |
170 tree_.Reset(); | 172 tree_.Reset(); |
171 tree_.Process(); | |
172 } | 173 } |
173 return true; | 174 return true; |
174 } | 175 } |
175 | 176 |
176 } // namespace aimc | 177 } // namespace aimc |