Skip to content

Commit

Permalink
fixing default LuminosityThresholdMode
Browse files Browse the repository at this point in the history
  • Loading branch information
timsat committed Nov 27, 2013
1 parent c9ef769 commit 56af29c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Software/src/Settings.cpp
Expand Up @@ -1383,6 +1383,7 @@ void Settings::initCurrentProfile(bool isResetDefault)
setNewOption(Profile::Key::Grab::IsSendDataOnlyIfColorsChanges, Profile::Grab::IsSendDataOnlyIfColorsChangesDefault, isResetDefault);
setNewOption(Profile::Key::Grab::Slowdown, Profile::Grab::SlowdownDefault, isResetDefault);
setNewOption(Profile::Key::Grab::LuminosityThreshold, Profile::Grab::MinimumLevelOfSensitivityDefault, isResetDefault);
setNewOption(Profile::Key::Grab::IsMinimumLuminosityEnabled, Profile::Grab::IsMinimumLuminosityEnabledDefault, isResetDefault);
// [MoodLamp]
setNewOption(Profile::Key::MoodLamp::IsLiquidMode, Profile::MoodLamp::IsLiquidMode, isResetDefault);
setNewOption(Profile::Key::MoodLamp::Color, Profile::MoodLamp::ColorDefault, isResetDefault);
Expand Down
1 change: 1 addition & 0 deletions Software/src/SettingsDefaults.hpp
Expand Up @@ -130,6 +130,7 @@ static const ::Grab::GrabberType GrabberDefault = GRABMODE_DEFAULT;
static const QString GrabberDefaultString = GRABMODE_DEFAULT_STR;
static const bool IsAvgColorsEnabledDefault = false;
static const bool IsSendDataOnlyIfColorsChangesDefault = true;
static const bool IsMinimumLuminosityEnabledDefault = true;
static const int SlowdownMin = 1;
static const int SlowdownDefault = 50;
static const int SlowdownMax = 1000;
Expand Down

0 comments on commit 56af29c

Please sign in to comment.