diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-08-25 20:11:58 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-08-25 20:11:58 +0400 |
commit | b42d6c0fc2a0b515b3ec1ab20400c56e62f29cef (patch) | |
tree | 80de0c177d4a6d4ac4d139a7b0cbcb2098f393ba /source/blender/editors | |
parent | 0edde88d7af6df27412d945a25096ed117a90416 (diff) |
Fix #23496: some composite node inputs/buttons not working.
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/space_node/drawnode.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/editors/space_node/drawnode.c b/source/blender/editors/space_node/drawnode.c index a9e5e871669..93dddac3107 100644 --- a/source/blender/editors/space_node/drawnode.c +++ b/source/blender/editors/space_node/drawnode.c @@ -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) |