diff 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
line wrap: on
line diff
--- a/src/Main/AIMCopy.cc	Tue Oct 19 19:48:37 2010 +0000
+++ b/src/Main/AIMCopy.cc	Thu Oct 21 01:46:39 2010 +0000
@@ -111,6 +111,7 @@
       LOG_ERROR(_T("Failed to initialize tree."));
       return false;
     }
+    tree_.Reset();
   } else {
     LOG_ERROR(_T("No input files in script."));
     return false;
@@ -167,8 +168,8 @@
     aimc::LOG_INFO(_T("%s -> %s"),
                   script_[i].first.c_str(),
                   script_[i].second.c_str());
+    tree_.Process();
     tree_.Reset();
-    tree_.Process();
   }
   return true;
 }