diff --git a/include/FluidSCWrapper.hpp b/include/FluidSCWrapper.hpp index c2df32d..695cfc3 100644 --- a/include/FluidSCWrapper.hpp +++ b/include/FluidSCWrapper.hpp @@ -914,19 +914,21 @@ public: static auto& setParams(ParameterSetType& p, bool verbose, World* world, FloatControlsIter& inputs, bool constrain = false) { + //TODO: Regain this robustness if possible? + // We won't even try and set params if the arguments don't match - if (inputs.size() == C::getParameterDescriptors().count()) - { + // if (inputs.size() == C::getParameterDescriptors().count()) + // { p.template setParameterValues(verbose, world, inputs); if (constrain) p.constrainParameterValues(); - } - else - { - std::cout << "ERROR: " << getName() - << ": parameter count mismatch. Perhaps your binary plugins " - "and SC sources are different versions" - << std::endl; - } + // } + // else + // { + // std::cout << "ERROR: " << getName() + // << ": parameter count mismatch. Perhaps your binary plugins " + // "and SC sources are different versions" + // << std::endl; + // } return p; }