colordevice: default the simple transformations to 1
This commit is contained in:
parent
96b625f7d7
commit
7f619e7770
1 changed files with 3 additions and 3 deletions
|
@ -54,14 +54,14 @@ public:
|
|||
uint temperature = 6500;
|
||||
|
||||
std::unique_ptr<ColorPipelineStage> temperatureStage;
|
||||
QVector3D temperatureFactors;
|
||||
QVector3D temperatureFactors = QVector3D(1, 1, 1);
|
||||
std::unique_ptr<ColorPipelineStage> brightnessStage;
|
||||
QVector3D brightnessFactors;
|
||||
QVector3D brightnessFactors = QVector3D(1, 1, 1);
|
||||
std::unique_ptr<ColorPipelineStage> calibrationStage;
|
||||
|
||||
std::shared_ptr<ColorTransformation> transformation;
|
||||
// used if only limited per-channel multiplication is available
|
||||
QVector3D simpleTransformation;
|
||||
QVector3D simpleTransformation = QVector3D(1, 1, 1);
|
||||
};
|
||||
|
||||
void ColorDevicePrivate::rebuildPipeline()
|
||||
|
|
Loading…
Reference in a new issue