diff options
| author | Comment <tim@gray.(none)> | 2013-08-19 10:43:52 +0100 |
|---|---|---|
| committer | Comment <tim@gray.(none)> | 2013-08-19 10:43:52 +0100 |
| commit | 318ba67bf91c07ff1edd0f2547b49d80ef9e0f83 (patch) | |
| tree | 5de4f04308e37b5c2dc0a41aca70fe6fdb033249 /rotord/src/rotor.h | |
| parent | aa99d094fde27ba5dc79dfcee2509f5ae9a58017 (diff) | |
fix parameter attribute definition
Diffstat (limited to 'rotord/src/rotor.h')
| -rwxr-xr-x | rotord/src/rotor.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rotord/src/rotor.h b/rotord/src/rotor.h index 199d960..f7d6861 100755 --- a/rotord/src/rotor.h +++ b/rotord/src/rotor.h @@ -176,7 +176,8 @@ namespace Rotor { } for (auto p: parameters){ if (find_setting(settings,p.first,"")!="") { - parameters[p.first]->init(find_setting(settings,p.first,0)); + parameters[p.first]->init(find_setting(settings,p.first,0.0f)); + cerr<<"setting parameter "<<p.first<<" to "<<find_setting(settings,p.first,0.0f)<<endl; } } } |
