diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-03-26 04:42:21 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-03-26 04:42:21 +0400 |
commit | 94b8b8913e0283850cd2f05361a8980ecbe4870c (patch) | |
tree | 981cad884ee4958e60ed2436db1d5a32473e1dd9 /source/blender/editors | |
parent | df4a8a4dab9536cb153fedd0c12fa3e8dc16f7b1 (diff) |
rename lattice influence to strength from r45144 (other deform modifiers call it strength too)
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_paint.c | 3 | ||||
-rw-r--r-- | source/blender/editors/mesh/editmesh_tools.c | 1 |
2 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/editors/gpencil/gpencil_paint.c b/source/blender/editors/gpencil/gpencil_paint.c index 3cd764d2eb3..20111fc66b2 100644 --- a/source/blender/editors/gpencil/gpencil_paint.c +++ b/source/blender/editors/gpencil/gpencil_paint.c @@ -1611,8 +1611,7 @@ static int gpencil_draw_exec (bContext *C, wmOperator *op) /* loop over the stroke RNA elements recorded (i.e. progress of mouse movement), * setting the relevant values in context at each step, then applying */ - RNA_BEGIN(op->ptr, itemptr, "stroke") - { + RNA_BEGIN(op->ptr, itemptr, "stroke") { float mousef[2]; //printf("\t\tGP - stroke elem \n"); diff --git a/source/blender/editors/mesh/editmesh_tools.c b/source/blender/editors/mesh/editmesh_tools.c index d26d6f2cbfe..6046a468aed 100644 --- a/source/blender/editors/mesh/editmesh_tools.c +++ b/source/blender/editors/mesh/editmesh_tools.c @@ -2970,7 +2970,6 @@ static int edbm_knife_cut_exec(bContext *C, wmOperator *op) /* get the cut curve */ RNA_BEGIN(op->ptr, itemptr, "path") { - RNA_float_get_array(&itemptr, "loc", (float *)&curve[len]); len++; if (len >= MAX_CUTS) { |