Browse Source

Set randomizeEnabled to true in Module::configButton().

tags/v2.0.0
Andrew Belt 3 years ago
parent
commit
20c679f208
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      include/engine/Module.hpp

+ 1
- 0
include/engine/Module.hpp View File

@@ -149,6 +149,7 @@ struct Module {
template <class TSwitchQuantity = SwitchQuantity>
TSwitchQuantity* configButton(int paramId, std::string name = "") {
TSwitchQuantity* sq = configParam<TSwitchQuantity>(paramId, 0.f, 1.f, 0.f, name);
sq->randomizeEnabled = false;
return sq;
}



Loading…
Cancel
Save