From ff6fe66ac60b18a88b16625d4fa651edeb702768 Mon Sep 17 00:00:00 2001 From: Scott Klum Date: Thu, 14 Nov 2013 14:01:01 -0500 Subject: [PATCH] Moved Globals->startTime from ProgressCounter to Core::enroll --- openbr/core/core.cpp | 2 ++ openbr/plugins/misc.cpp | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/openbr/core/core.cpp b/openbr/core/core.cpp index 78087c5..b7c66ce 100644 --- a/openbr/core/core.cpp +++ b/openbr/core/core.cpp @@ -178,6 +178,8 @@ struct AlgorithmCore // and get the final stream's stages by reinterpreting the pipe. Perfectly straightforward. wrapper->init(); + Globals->startTime.start(); + wrapper->projectUpdate(data,data); files.append(data.files()); diff --git a/openbr/plugins/misc.cpp b/openbr/plugins/misc.cpp index 3dd8c4b..9c25c63 100644 --- a/openbr/plugins/misc.cpp +++ b/openbr/plugins/misc.cpp @@ -605,7 +605,6 @@ class ProgressCounterTransform : public TimeVaryingTransform calls = 0; set_calls = 0; timer.start(); - Globals->startTime.start(); } public: -- libgit2 0.21.4