diff options
author | Hans Goudey <h.goudey@me.com> | 2021-12-02 06:01:35 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-12-02 06:01:35 +0300 |
commit | 218360a89217f4e8321319035bf4d9ff97fb2658 (patch) | |
tree | ebea2a1c90847a62315d81bf4f427b287c7e6e7f /source/blender/editors/gpencil/gpencil_convert.c | |
parent | ca9cdba2df8231e88575c0d56df1f72efc819950 (diff) |
Cleanup: Rename curve struct fields
These existing names were unhelpful at best, actively confusing at
worst. This patch renames them to be consistent with the terms
used to refer to the values in the UI.
- `width` -> `offset`
- `ext1` -> `extrude`
- `ext2` -> `bevel_radius`
Differential Revision: https://developer.blender.org/D9627
Diffstat (limited to 'source/blender/editors/gpencil/gpencil_convert.c')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_convert.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/gpencil/gpencil_convert.c b/source/blender/editors/gpencil/gpencil_convert.c index 656fec565df..bf414851aed 100644 --- a/source/blender/editors/gpencil/gpencil_convert.c +++ b/source/blender/editors/gpencil/gpencil_convert.c @@ -1324,7 +1324,7 @@ static void gpencil_layer_to_curve(bContext *C, cu->flag |= CU_3D; cu->bevresol = gtd->bevel_resolution; - cu->ext2 = gtd->bevel_depth; + cu->bevel_radius = gtd->bevel_depth; gtd->inittime = ((bGPDstroke *)gpf->strokes.first)->inittime; |