Fix #23496: some composite node inputs/buttons not working.

This commit is contained in:
2010-08-25 16:11:58 +00:00
parent 0edde88d7a
commit b42d6c0fc2

View File

@@ -553,7 +553,7 @@ static void node_composit_buts_dblur(uiLayout *layout, bContext *C, PointerRNA *
uiLayout *col;
uiItemR(layout, ptr, "iterations", 0, NULL, 0);
uiItemR(layout, ptr, "wrap", 0, NULL, 0);
uiItemR(layout, ptr, "use_wrap", 0, NULL, 0);
col= uiLayoutColumn(layout, 1);
uiItemL(col, "Center:", 0);
@@ -601,9 +601,9 @@ static void node_composit_buts_defocus(uiLayout *layout, bContext *C, PointerRNA
uiItemR(layout, ptr, "threshold", 0, NULL, 0);
col = uiLayoutColumn(layout, 0);
uiItemR(col, ptr, "preview", 0, NULL, 0);
uiItemR(col, ptr, "use_preview", 0, NULL, 0);
sub = uiLayoutColumn(col, 0);
uiLayoutSetActive(sub, RNA_boolean_get(ptr, "preview"));
uiLayoutSetActive(sub, RNA_boolean_get(ptr, "use_preview"));
uiItemR(sub, ptr, "samples", 0, NULL, 0);
col = uiLayoutColumn(layout, 0);
@@ -768,9 +768,9 @@ static void node_composit_buts_hue_sat(uiLayout *layout, bContext *C, PointerRNA
uiLayout *col;
col =uiLayoutColumn(layout, 0);
uiItemR(col, ptr, "hue", UI_ITEM_R_SLIDER, NULL, 0);
uiItemR(col, ptr, "sat", UI_ITEM_R_SLIDER, NULL, 0);
uiItemR(col, ptr, "val", UI_ITEM_R_SLIDER, NULL, 0);
uiItemR(col, ptr, "color_hue", UI_ITEM_R_SLIDER, NULL, 0);
uiItemR(col, ptr, "color_saturation", UI_ITEM_R_SLIDER, NULL, 0);
uiItemR(col, ptr, "color_value", UI_ITEM_R_SLIDER, NULL, 0);
}
static void node_composit_buts_dilateerode(uiLayout *layout, bContext *C, PointerRNA *ptr)