diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2017-11-23 22:34:03 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2017-11-23 22:34:03 +0300 |
commit | c9477888305b647abb89702ab2316ba5f93033b1 (patch) | |
tree | dccbc97b5916cfa5e474d672cb134437b7223b01 /source/blender/editors/mesh | |
parent | 4f8bffa7bfe46192b43c75d864e2117369cbffdd (diff) | |
parent | ff9eab7926da46d62cede2d3d061fcfe2531f622 (diff) |
Merge branch 'master' into blender2.8
Diffstat (limited to 'source/blender/editors/mesh')
-rw-r--r-- | source/blender/editors/mesh/editmesh_bevel.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/mesh/editmesh_bevel.c b/source/blender/editors/mesh/editmesh_bevel.c index 2af05a9ad8d..e541df8ffa3 100644 --- a/source/blender/editors/mesh/editmesh_bevel.c +++ b/source/blender/editors/mesh/editmesh_bevel.c @@ -335,11 +335,12 @@ static int edbm_bevel_invoke(bContext *C, wmOperator *op, const wmEvent *event) * ideally this will never happen and should be checked for above */ opdata->mcenter[0] = opdata->mcenter[1] = 0; } - edbm_bevel_calc_initial_length(op, event, false); /* for OFFSET_VALUE only, the scale is the size of a pixel under the mouse in 3d space */ opdata->scale[OFFSET_VALUE] = rv3d ? ED_view3d_pixel_size(rv3d, center_3d) : 1.0f; + edbm_bevel_calc_initial_length(op, event, false); + edbm_bevel_update_header(C, op); if (!edbm_bevel_calc(op)) { |