diff --git a/openbr/plugins/independent.cpp b/openbr/plugins/independent.cpp index 75b80d3..2a627c1 100644 --- a/openbr/plugins/independent.cpp +++ b/openbr/plugins/independent.cpp @@ -135,9 +135,9 @@ class IndependentTransform : public MetaTransform if (!transform->setPropertyRecursive(name, value)) return false; - for (int i=0;i < transforms.size();i++) { + for (int i=0;i < transforms.size();i++) transforms[i]->setPropertyRecursive(name, value); - } + return true; } diff --git a/openbr/plugins/openbr_internal.h b/openbr/plugins/openbr_internal.h index 23200bc..bd537f0 100644 --- a/openbr/plugins/openbr_internal.h +++ b/openbr/plugins/openbr_internal.h @@ -309,8 +309,7 @@ public: if (br::Object::setPropertyRecursive(name, value)) return true; - for (int i=0; i < this->transforms.size();i++) - { + for (int i=0; i < this->transforms.size();i++) { if (transforms[i]->setPropertyRecursive(name, value)) { init(); return true;