Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHoward Trickey <howard.trickey@gmail.com>2013-11-11 16:19:39 +0400
committerHoward Trickey <howard.trickey@gmail.com>2013-11-11 16:19:39 +0400
commit39673718864f018307e49fac62696341b3230628 (patch)
tree33213aabe65c71c994a14b17de5757194a1c8ed1 /source/blender/editors/mesh/editmesh_bevel.c
parentdcfb858a7629cb505318ce755075a9c77e6aa376 (diff)
Used wrong RNA access routine in bevel amount commit.
Diffstat (limited to 'source/blender/editors/mesh/editmesh_bevel.c')
-rw-r--r--source/blender/editors/mesh/editmesh_bevel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/mesh/editmesh_bevel.c b/source/blender/editors/mesh/editmesh_bevel.c
index 7e1293ee043..ddb58cd6c7b 100644
--- a/source/blender/editors/mesh/editmesh_bevel.c
+++ b/source/blender/editors/mesh/editmesh_bevel.c
@@ -264,7 +264,7 @@ static float edbm_bevel_mval_factor(wmOperator *op, const wmEvent *event)
mdiff[0] = opdata->mcenter[0] - event->mval[0];
mdiff[1] = opdata->mcenter[1] - event->mval[1];
- is_percent = (RNA_int_get(op->ptr, "offset_type") == BEVEL_AMT_PERCENT);
+ is_percent = (RNA_enum_get(op->ptr, "offset_type") == BEVEL_AMT_PERCENT);
if (use_dist) {
factor = ((len_v2(mdiff) - MVAL_PIXEL_MARGIN) - opdata->initial_length) * opdata->pixel_size;