Skip to content
Snippets Groups Projects
Commit 123822bd authored by Septen's avatar Septen
Browse files

Fixed default value wasn't set in Parameter after creation.

parent 7aef716e
No related branches found
No related tags found
No related merge requests found
......@@ -54,6 +54,8 @@ Parameter::Parameter(const String& name_, float low, float high,
isBool = false;
isDisc = false;
// Initialize default value
values.set (0, defaultValue);
}
Parameter::Parameter(const String& name_, Array<var> a, int defaultVal,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment