Skip to content

Commit

Permalink
iop-order: fix lut3d order (after colorin).
Browse files Browse the repository at this point in the history
For #3062.
  • Loading branch information
TurboGit committed Oct 4, 2019
1 parent d8c468a commit b9e82e7
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/common/iop_order.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
#include <stdlib.h>
#include <string.h>

#define DT_IOP_ORDER_VERSION 4
#define DT_IOP_ORDER_VERSION 5

#define DT_IOP_ORDER_INFO FALSE // used while debugging
#define DT_ONTHEFLY_INFO FALSE // while debugging on-the-fly conversion
Expand Down Expand Up @@ -189,6 +189,12 @@ static int _ioppr_legacy_iop_order_step(GList **_iop_order_list, GList *history_
if(!dont_move) _rewrite_order(*_iop_order_list);
new_version = 4;
}
else if(old_version == 4)
{
_ioppr_move_iop_after(_iop_order_list, "lut3d", "colorin", dont_move);
if(!dont_move) _rewrite_order(*_iop_order_list);
new_version = 5;
}
// each new version MUST be written as the following (_rewrite_order IS VERY important)

// If a new module is to be added, it must be added in the current
Expand Down

0 comments on commit b9e82e7

Please sign in to comment.