From 218360a89217f4e8321319035bf4d9ff97fb2658 Mon Sep 17 00:00:00 2001 From: Hans Goudey Date: Wed, 1 Dec 2021 22:01:35 -0500 Subject: 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 --- source/blender/blenloader/intern/versioning_260.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/blenloader/intern/versioning_260.c') diff --git a/source/blender/blenloader/intern/versioning_260.c b/source/blender/blenloader/intern/versioning_260.c index c4d04392cba..8a22fd07c24 100644 --- a/source/blender/blenloader/intern/versioning_260.c +++ b/source/blender/blenloader/intern/versioning_260.c @@ -1892,7 +1892,7 @@ void blo_do_versions_260(FileData *fd, Library *UNUSED(lib), Main *bmain) for (cu = bmain->curves.first; cu; cu = cu->id.next) { if (cu->flag & (CU_FRONT | CU_BACK)) { - if (cu->ext1 != 0.0f || cu->ext2 != 0.0f) { + if (cu->extrude != 0.0f || cu->bevel_radius != 0.0f) { Nurb *nu; for (nu = cu->nurb.first; nu; nu = nu->next) { -- cgit v1.2.3