Pass interpolation parameters in "colour.LUT3D.invert" method.
@@ -2138,7 +2138,7 @@ class LUT3D(AbstractLUT):
# resolution of the KDTree.
LUT_t = LUT3D(size=target_size, domain=LUT.domain)
table = LUT_t.table
- LUT_t.table = LUT.apply(LUT_t.table)
+ LUT_t.table = LUT.apply(LUT_t.table, interpolator, interpolator_kwargs)
tree = cKDTree(LUT_t.table.reshape(-1, 3))
@@ -2157,7 +2157,8 @@ class LUT3D(AbstractLUT):
# "LUT_i" is the final inverse LUT generated by applying "LUT_q" on
# an identity LUT at the target size.
LUT_i = LUT3D(size=target_size, domain=LUT.domain)
- LUT_i.table = LUT_q.apply(LUT_i.table)
+ LUT_i.table = LUT_q.apply(LUT_i.table, interpolator,
+ interpolator_kwargs)
LUT_i.name = '{0} - Inverse'.format(self.name)
