We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4193b8 commit a0d405aCopy full SHA for a0d405a
libs/openFrameworks/types/ofParameter.h
@@ -608,8 +608,8 @@ class ofParameter: public ofAbstractParameter{
608
,serializable(true){}
609
610
Value(ParameterType v)
611
- :value(v)
612
- ,init(v)
+ :init(v)
+ ,value(v)
613
,min(of::priv::TypeInfo<ParameterType>::min())
614
,max(of::priv::TypeInfo<ParameterType>::max())
615
,bInNotify(false)
@@ -634,8 +634,7 @@ class ofParameter: public ofAbstractParameter{
634
635
636
std::string name;
637
- ParameterType value;
638
- ParameterType min, max, init;
+ ParameterType init, value, min, max;
639
ofEvent<ParameterType> changedE;
640
bool bInNotify;
641
bool serializable;
0 commit comments