From fdf6cf7345e0d73db96966c040e9b43d54d84c95 Mon Sep 17 00:00:00 2001 From: Scott Klum Date: Thu, 12 Mar 2015 14:16:17 -0400 Subject: [PATCH] Made propagate so meta --- openbr/plugins/core/propagate.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/openbr/plugins/core/propagate.cpp b/openbr/plugins/core/propagate.cpp index 98e8167..9146ad0 100644 --- a/openbr/plugins/core/propagate.cpp +++ b/openbr/plugins/core/propagate.cpp @@ -8,18 +8,13 @@ namespace br * \brief Ensures that a template will be propogated. * \author Scott Klum \cite sklum */ -class PropagateTransform : public Transform +class PropagateTransform : public UntrainableMetaTransform { Q_OBJECT Q_PROPERTY(br::Transform *transform READ get_transform WRITE set_transform RESET reset_transform STORED true) BR_PROPERTY(br::Transform *, transform, NULL) - void train(const TemplateList &data) - { - transform->train(data); - } - void project(const Template &src, Template &dst) const { transform->project(src,dst); -- libgit2 0.21.4