Changeset View
Changeset View
Standalone View
Standalone View
core/libs/dimg/filters/curves/imagecurves.cpp
Context not available. | |||||
330 | { | 330 | { | ||
---|---|---|---|---|---|
331 | int j; | 331 | int j; | ||
332 | 332 | | |||
333 | if (!d->curves) | 333 | if (!d->curves || channel == 5) | ||
334 | { | 334 | { | ||
335 | return; | 335 | return; | ||
336 | } | 336 | } | ||
Context not available. | |||||
365 | int num_pts; | 365 | int num_pts; | ||
366 | int p1, p2, p3, p4; | 366 | int p1, p2, p3, p4; | ||
367 | 367 | | |||
368 | if (!d->curves) | 368 | if (!d->curves || channel == 5) | ||
369 | { | 369 | { | ||
370 | return; | 370 | return; | ||
371 | } | 371 | } | ||
Context not available. | |||||
1155 | { | 1155 | { | ||
1156 | if (d->curves && | 1156 | if (d->curves && | ||
1157 | channel >= 0 && | 1157 | channel >= 0 && | ||
1158 | channel != 5 && | ||||
1158 | channel < NUM_CHANNELS && | 1159 | channel < NUM_CHANNELS && | ||
1159 | type >= CURVE_SMOOTH && | 1160 | type >= CURVE_SMOOTH && | ||
1160 | type <= CURVE_FREE) | 1161 | type <= CURVE_FREE) | ||
Context not available. |