Improve curve visibility logic.
Automatically open first non linear curve for L*a*b*, RGB and HSV.
This commit is contained in:
@@ -299,31 +299,31 @@ void LCurve::autoOpenCurve ()
|
||||
bool active = lshape->openIfNonlinear();
|
||||
|
||||
if (!active) {
|
||||
ashape->openIfNonlinear();
|
||||
active = ashape->openIfNonlinear();
|
||||
}
|
||||
|
||||
if (!active) {
|
||||
bshape->openIfNonlinear();
|
||||
active = bshape->openIfNonlinear();
|
||||
}
|
||||
|
||||
if (!active) {
|
||||
ccshape->openIfNonlinear();
|
||||
active = ccshape->openIfNonlinear();
|
||||
}
|
||||
|
||||
if (!active) {
|
||||
chshape->openIfNonlinear();
|
||||
active = chshape->openIfNonlinear();
|
||||
}
|
||||
|
||||
if (!active) {
|
||||
lhshape->openIfNonlinear();
|
||||
active = lhshape->openIfNonlinear();
|
||||
}
|
||||
|
||||
if (!active) {
|
||||
hhshape->openIfNonlinear();
|
||||
active = hhshape->openIfNonlinear();
|
||||
}
|
||||
|
||||
if (!active) {
|
||||
lcshape->openIfNonlinear();
|
||||
active = lcshape->openIfNonlinear();
|
||||
}
|
||||
|
||||
if (!active) {
|
||||
|
Reference in New Issue
Block a user