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:
Diffstat (limited to 'source/blender/editors/mesh/editmesh_bevel.c')
-rw-r--r--source/blender/editors/mesh/editmesh_bevel.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/source/blender/editors/mesh/editmesh_bevel.c b/source/blender/editors/mesh/editmesh_bevel.c
index dd4b8146154..a90d6530453 100644
--- a/source/blender/editors/mesh/editmesh_bevel.c
+++ b/source/blender/editors/mesh/editmesh_bevel.c
@@ -158,13 +158,13 @@ static void edbm_bevel_update_status_text(bContext *C, wmOperator *op)
}
else {
double offset_val = (double)RNA_float_get(op->ptr, "offset");
- bUnit_AsString2(offset_str,
- NUM_STR_REP_LEN,
- offset_val * sce->unit.scale_length,
- 3,
- B_UNIT_LENGTH,
- &sce->unit,
- true);
+ BKE_unit_value_as_string(offset_str,
+ NUM_STR_REP_LEN,
+ offset_val * sce->unit.scale_length,
+ 3,
+ B_UNIT_LENGTH,
+ &sce->unit,
+ true);
}
prop = RNA_struct_find_property(op->ptr, "offset_type");