[Lens Distortion] Display grid only in Distortion Mode

This commit is contained in:
Thomas Zorroche 2021-01-14 11:56:09 +01:00 committed by Fabien Castan
parent 29b7e808a1
commit 1225cf17ba
2 changed files with 8 additions and 0 deletions

View file

@ -33,6 +33,13 @@ AliceVision.FloatImageViewer {
property string channelModeString : "rgba"
property bool distortion: false
onDistortionChanged: {
console.warn("distortion");
root.hasDistortion(distortion);
}
channelMode: {
switch(channelModeString)
{