Commit ff6fe66ac60b18a88b16625d4fa651edeb702768

Authored by Scott Klum
1 parent 81f536f9

Moved Globals->startTime from ProgressCounter to Core::enroll

openbr/core/core.cpp
@@ -178,6 +178,8 @@ struct AlgorithmCore @@ -178,6 +178,8 @@ struct AlgorithmCore
178 // and get the final stream's stages by reinterpreting the pipe. Perfectly straightforward. 178 // and get the final stream's stages by reinterpreting the pipe. Perfectly straightforward.
179 wrapper->init(); 179 wrapper->init();
180 180
  181 + Globals->startTime.start();
  182 +
181 wrapper->projectUpdate(data,data); 183 wrapper->projectUpdate(data,data);
182 184
183 files.append(data.files()); 185 files.append(data.files());
openbr/plugins/misc.cpp
@@ -605,7 +605,6 @@ class ProgressCounterTransform : public TimeVaryingTransform @@ -605,7 +605,6 @@ class ProgressCounterTransform : public TimeVaryingTransform
605 calls = 0; 605 calls = 0;
606 set_calls = 0; 606 set_calls = 0;
607 timer.start(); 607 timer.start();
608 - Globals->startTime.start();  
609 } 608 }
610 609
611 public: 610 public: