diff options
author | Thomas Dinges <blender@dingto.org> | 2011-12-09 01:50:52 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2011-12-09 01:50:52 +0400 |
commit | 579da5c052f0b0394dd8f32e7bc863ccd09f8df8 (patch) | |
tree | 9dc0b28fd97b68e8473a1df667c8eb76f846b9c2 /source/blender/editors/space_node | |
parent | d67450859084fb15b66e69966581c3d2f6fc002f (diff) |
Tile Branch:
* Fixing wrong button RNA identifier, causing the Switch Buttons not to display.
Diffstat (limited to 'source/blender/editors/space_node')
-rw-r--r-- | source/blender/editors/space_node/drawnode.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/editors/space_node/drawnode.c b/source/blender/editors/space_node/drawnode.c index 6025462666a..544112ab578 100644 --- a/source/blender/editors/space_node/drawnode.c +++ b/source/blender/editors/space_node/drawnode.c @@ -1806,19 +1806,21 @@ static void node_composit_buts_dilateerode2(uiLayout *layout, bContext *UNUSED(C { uiItemR(layout, ptr, "distance", UI_ITEM_R_SLIDER, NULL, ICON_NONE); uiItemR(layout, ptr, "inset", UI_ITEM_R_SLIDER, NULL, ICON_NONE); - uiItemR(layout, ptr, "switch", UI_ITEM_R_SLIDER, NULL, ICON_NONE); + uiItemR(layout, ptr, "check", UI_ITEM_R_SLIDER, NULL, ICON_NONE); } static void node_composit_buts_switch(uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr) { - uiItemR(layout, ptr, "switch", 0, NULL, ICON_NONE); + uiItemR(layout, ptr, "check", 0, NULL, ICON_NONE); } static void node_composit_buts_boxmask(uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr) { uiLayout *row; + row= uiLayoutRow(layout, 1); uiItemR(row, ptr, "x", 0, NULL, ICON_NONE); uiItemR(row, ptr, "y", 0, NULL, ICON_NONE); + row= uiLayoutRow(layout, 1); uiItemR(row, ptr, "width", UI_ITEM_R_SLIDER, NULL, ICON_NONE); uiItemR(row, ptr, "height", UI_ITEM_R_SLIDER, NULL, ICON_NONE); |