Update JsonClientConnection.cpp

This commit is contained in:
AEtHeLsYn 2016-03-21 17:42:13 +01:00
parent c701972ecd
commit 5014c392b3
1 changed files with 2 additions and 0 deletions

View File

@ -601,6 +601,7 @@ void JsonClientConnection::handleCorrectionCommand(const Json::Value &message)
colorCorrection->_rgbCorrection.setcorrectionR(values[0u].asInt());
colorCorrection->_rgbCorrection.setcorrectionG(values[1u].asInt());
colorCorrection->_rgbCorrection.setcorrectionB(values[2u].asInt());
}
// commit the changes
_hyperion->correctionsUpdated();
@ -626,6 +627,7 @@ void JsonClientConnection::handleTemperatureCommand(const Json::Value &message)
colorTemperature->_rgbCorrection.setcorrectionR(values[0u].asInt());
colorTemperature->_rgbCorrection.setcorrectionG(values[1u].asInt());
colorTemperature->_rgbCorrection.setcorrectionB(values[2u].asInt());
}
// commit the changes
_hyperion->temperaturesUpdated();