correct rna identifiers
authorCampbell Barton <ideasman42@gmail.com>
Wed, 13 Feb 2013 04:04:14 +0000 (04:04 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 13 Feb 2013 04:04:14 +0000 (04:04 +0000)
- compositor viewer: use_straight_alpha -> use_alpha
- bevel tool: percent -> offset

source/blender/editors/mesh/editmesh_tools.c
source/blender/editors/space_node/drawnode.c

index 6d5c4910630827c1bfb4e80e14a187aa8c1c1a6d..45d0d09773394ab31ac70502bdbfd665512d7c3b 100644 (file)
@@ -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
index 57851e857b8a4c7212a9d38122c8928e82807991..f303bba9886279185495146a85d333cd079a1766 100644 (file)
@@ -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);