diff --git a/openbr/plugins/openbr_internal.h b/openbr/plugins/openbr_internal.h index 2d09862..1cc8f3f 100644 --- a/openbr/plugins/openbr_internal.h +++ b/openbr/plugins/openbr_internal.h @@ -484,9 +484,10 @@ inline void splitFTEs(TemplateList &src, TemplateList &ftes) src.clear(); foreach (const Template &t, active) { - if (t.file.fte && !Globals->enrollAll) - ftes.append(t); - else + if (t.file.fte) { + if (!Globals->enrollAll) + ftes.append(t); + } else src.append(t); } }