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>2016-08-29 15:51:04 +0300
committerHoward Trickey <howard.trickey@gmail.com>2016-08-29 15:51:04 +0300
commit8f215d9b527681773bb1f02b57d00afc860d8122 (patch)
tree808882328d63169511ec0d831ada72e74b3c810a
parent09dc8a7954a9ded72f5b3b30fcf7953be29301da (diff)
Fix for Bevel segments bug T49183; but doesn't fix whole report yet.
-rw-r--r--source/blender/editors/mesh/editmesh_bevel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/mesh/editmesh_bevel.c b/source/blender/editors/mesh/editmesh_bevel.c
index 302ca407add..a81add7a86e 100644
--- a/source/blender/editors/mesh/editmesh_bevel.c
+++ b/source/blender/editors/mesh/editmesh_bevel.c
@@ -145,6 +145,7 @@ static bool edbm_bevel_init(bContext *C, wmOperator *op, const bool is_modal)
opdata->em = em;
opdata->is_modal = is_modal;
opdata->value_mode = OFFSET_VALUE;
+ opdata->segments = (float) RNA_int_get(op->ptr, "segments");
pixels_per_inch = U.dpi * U.pixelsize;
for (i = 0; i < NUM_VALUE_KINDS; i++) {