Final fixex

Former-commit-id: 7b2e1a33ab7705dddadfa1ec99d3d7c379ab10dd
This commit is contained in:
AEtHeLsYn
2016-03-13 21:14:22 +01:00
parent ae23c96b91
commit 1f1aee0c37
3 changed files with 5 additions and 5 deletions

View File

@@ -232,7 +232,7 @@ void JsonClientConnection::handleMessage(const std::string &messageString)
sendErrorReply("Error while validating json: " + errors);
return;
}
// switch over all possible commands and handle them
if (command == "color")
handleColorCommand(message);
@@ -483,7 +483,7 @@ void JsonClientConnection::handleTransformCommand(const Json::Value &message)
//sendErrorReply(std::string("Incorrect transform identifier: ") + transformId);
return;
}
if (transform.isMember("saturationGain"))
{
colorTransform->_hsvTransform.setSaturationGain(transform["saturationGain"].asDouble());
@@ -535,7 +535,7 @@ void JsonClientConnection::handleTransformCommand(const Json::Value &message)
colorTransform->_rgbGreenTransform.setWhitelevel(values[1u].asDouble());
colorTransform->_rgbBlueTransform .setWhitelevel(values[2u].asDouble());
}
// commit the changes
_hyperion->transformsUpdated();