summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
68cbbe8)
Opening the generic plugin UI or re-opening the GUI will call
get_parameter_descriptor() again, and replace the defaults with
current values.
}
desc.normal = get_parameter (which);
}
desc.normal = get_parameter (which);
- _parameter_defaults[which] = desc.normal;
+ if (_parameter_defaults.find (which) == _parameter_defaults.end ()) {
+ _parameter_defaults[which] = desc.normal;
+ }