diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-02-13 08:04:14 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-02-13 08:04:14 +0400 |
commit | 0b8bfbebc8b7a90c1c2ac6d63efa64b28aa0d571 (patch) | |
tree | cf58d8f3727534006e2a891ce307cf0eaf234e0c /source/blender/editors | |
parent | b6a60fc6b885541733b23852cf67b74d3ad0143a (diff) |
correct rna identifiers
- compositor viewer: use_straight_alpha -> use_alpha
- bevel tool: percent -> offset
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/mesh/editmesh_tools.c | 2 | ||||
-rw-r--r-- | source/blender/editors/space_node/drawnode.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/mesh/editmesh_tools.c b/source/blender/editors/mesh/editmesh_tools.c index 6d5c4910630..45d0d097733 100644 --- a/source/blender/editors/mesh/editmesh_tools.c +++ b/source/blender/editors/mesh/editmesh_tools.c @@ -4977,7 +4977,7 @@ static float edbm_bevel_mval_factor(wmOperator *op, wmEvent *event) if (event->shift) { if (opdata->shift_factor < 0.0f) { #ifdef NEW_BEVEL - opdata->shift_factor = RNA_float_get(op->ptr, "percent"); + opdata->shift_factor = RNA_float_get(op->ptr, "offset"); #else opdata->shift_factor = RNA_float_get(op->ptr, "factor"); #endif diff --git a/source/blender/editors/space_node/drawnode.c b/source/blender/editors/space_node/drawnode.c index 57851e857b8..f303bba9886 100644 --- a/source/blender/editors/space_node/drawnode.c +++ b/source/blender/editors/space_node/drawnode.c @@ -2668,7 +2668,7 @@ static void node_composit_buts_viewer_but(uiLayout *layout, bContext *UNUSED(C), { uiLayout *col; - uiItemR(layout, ptr, "use_straight_alpha", 0, NULL, ICON_NONE); + uiItemR(layout, ptr, "use_alpha", 0, NULL, ICON_NONE); uiItemR(layout, ptr, "tile_order", 0, NULL, ICON_NONE); if (RNA_enum_get(ptr, "tile_order") == 0) { col = uiLayoutColumn(layout, TRUE); |