More fixes

Former-commit-id: 331ba604dba8aa16f9cf42c5827c8542502be545
This commit is contained in:
AEtHeLsYn
2016-03-13 13:05:47 +01:00
parent a5a17776d4
commit 28f67871dc
3 changed files with 4 additions and 27 deletions

View File

@@ -216,12 +216,12 @@ void JsonConnection::setTransform(std::string * transformId, double * saturation
transform["valueGain"] = *value;
}
if (saturation != nullptr)
if (saturationL != nullptr)
{
transform["saturationLGain"] = *saturationL;
}
if (value != nullptr)
if (luminance != nullptr)
{
transform["luminanceGain"] = *luminance;
}