Compositor: negative color support for ASC-CDL offset
Since the color wheel can't handle negative colors usefully, use a basis value for the initial RGB.
This commit is contained in:
@@ -1953,6 +1953,7 @@ static void node_composit_buts_colorbalance(uiLayout *layout, bContext *UNUSED(C
|
||||
uiTemplateColorPicker(col, ptr, "offset", 1, 1, 0, 1);
|
||||
row = uiLayoutRow(col, false);
|
||||
uiItemR(row, ptr, "offset", 0, NULL, ICON_NONE);
|
||||
uiItemR(col, ptr, "offset_basis", 0, NULL, ICON_NONE);
|
||||
|
||||
col = uiLayoutColumn(split, false);
|
||||
uiTemplateColorPicker(col, ptr, "power", 1, 1, 0, 1);
|
||||
|
||||
Reference in New Issue
Block a user