From 5d38207e04fe01711f1a92e60dfc4fce27c8e0d8 Mon Sep 17 00:00:00 2001 From: sklum Date: Fri, 8 Nov 2013 17:28:00 -0800 Subject: [PATCH] Fixed some things --- openbr/core/core.cpp | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) diff --git a/openbr/core/core.cpp b/openbr/core/core.cpp index 0d20c2c..1a23139 100644 --- a/openbr/core/core.cpp +++ b/openbr/core/core.cpp @@ -51,6 +51,8 @@ struct AlgorithmCore qFatal("downcast failed?"); downcast->transforms[0] = this->transform.data(); + downcast->init(); + TemplateList data(TemplateList::fromGallery(input)); // set the Train bool metadata, in case a Transform's project -- libgit2 0.21.4