Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/common/iop_order.c
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ const dt_iop_order_entry_t legacy_order[] = {
{ {26.0f }, "hazeremoval", 0},
{ {27.0f }, "colorin", 0},
{ {27.5f }, "channelmixerrgb", 0},
{ {27.5f }, "contrast", 0},
{ {27.5f }, "diffuse", 0},
{ {27.5f }, "censorize", 0},
{ {27.5f }, "negadoctor", 0},
Expand Down Expand Up @@ -216,6 +217,7 @@ const dt_iop_order_entry_t v30_order[] = {
{ {27.0f }, "equalizer", 0},
{ {28.0f }, "colorin", 0},
{ {28.5f }, "channelmixerrgb", 0},
{ {28.5f }, "contrast", 0},
{ {28.5f }, "diffuse", 0},
{ {28.5f }, "censorize", 0},
{ {28.5f }, "negadoctor", 0}, // Cineon film encoding comes
Expand Down Expand Up @@ -334,6 +336,7 @@ const dt_iop_order_entry_t v50_order[] = {
{ {27.0f }, "equalizer", 0},
{ {28.0f }, "colorin", 0},
{ {28.5f }, "channelmixerrgb", 0},
{ {28.5f }, "contrast", 0},
{ {28.5f }, "diffuse", 0},
{ {28.5f }, "censorize", 0},
{ {28.5f }, "negadoctor", 0}, // Cineon film encoding comes
Expand Down Expand Up @@ -453,6 +456,7 @@ const dt_iop_order_entry_t v30_jpg_order[] = {
{ { 28.0f }, "equalizer", 0},
// from there, it's the same as the raw order
{ { 28.5f }, "channelmixerrgb", 0 },
{ { 28.5f }, "contrast", 0 },
{ { 28.5f }, "diffuse", 0 },
{ { 28.5f }, "censorize", 0 },
{ { 28.5f }, "negadoctor", 0 }, // Cineon film encoding comes after scanner input color profile
Expand Down Expand Up @@ -574,6 +578,7 @@ const dt_iop_order_entry_t v50_jpg_order[] = {
{ { 28.0f }, "equalizer", 0},
// from there, it's the same as the raw order
{ { 28.5f }, "channelmixerrgb", 0 },
{ { 28.5f }, "contrast", 0 },
{ { 28.5f }, "diffuse", 0 },
{ { 28.5f }, "censorize", 0 },
{ { 28.5f }, "negadoctor", 0 }, // Cineon film encoding comes after scanner input color profile
Expand Down Expand Up @@ -719,6 +724,7 @@ void dt_ioppr_migrate_legacy_iop_order_list(GList *iop_order_list)
// iop-order list kind.
_insert_before(iop_order_list, "nlmeans", "negadoctor");
_insert_before(iop_order_list, "negadoctor", "channelmixerrgb");
_insert_before(iop_order_list, "negadoctor", "contrast");
_insert_before(iop_order_list, "negadoctor", "censorize");
_insert_before(iop_order_list, "negadoctor", "primaries");
_insert_before(iop_order_list, "rgbcurve", "colorbalancergb");
Expand Down Expand Up @@ -805,6 +811,7 @@ GList *dt_ioppr_get_iop_order_rules(void)
{ .op_prev = "flip", .op_next = "clipping" }, // clipping GUI broken if flip is done on top
{ .op_prev = "ashift", .op_next = "clipping" }, // clipping GUI broken if ashift is done on top
{ .op_prev = "colorin", .op_next = "channelmixerrgb"},
{ .op_prev = "channelmixerrgb", .op_next = "contrast"},
{ "\0", "\0" } };

int i = 0;
Expand Down
1 change: 1 addition & 0 deletions src/iop/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ add_iop(sigmoid "sigmoid.c")
add_iop(agx "agx.c")
add_iop(primaries "primaries.c")
add_iop(colorequal "colorequal.c")
add_iop(contrast "contrast.c")
add_iop(rasterfile "rasterfile.c")

if(Rsvg2_FOUND)
Expand Down
Loading