Commit 5d38207e04fe01711f1a92e60dfc4fce27c8e0d8
1 parent
9b4c3277
Fixed some things
Showing
1 changed file
with
2 additions
and
0 deletions
openbr/core/core.cpp
| @@ -51,6 +51,8 @@ struct AlgorithmCore | @@ -51,6 +51,8 @@ struct AlgorithmCore | ||
| 51 | qFatal("downcast failed?"); | 51 | qFatal("downcast failed?"); |
| 52 | downcast->transforms[0] = this->transform.data(); | 52 | downcast->transforms[0] = this->transform.data(); |
| 53 | 53 | ||
| 54 | + downcast->init(); | ||
| 55 | + | ||
| 54 | TemplateList data(TemplateList::fromGallery(input)); | 56 | TemplateList data(TemplateList::fromGallery(input)); |
| 55 | 57 | ||
| 56 | // set the Train bool metadata, in case a Transform's project | 58 | // set the Train bool metadata, in case a Transform's project |