diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-04-29 10:21:50 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-04-29 10:22:26 +0300 |
commit | b10649f27b64d4955a8b9b798c3fd6f0c2787661 (patch) | |
tree | c6d9b74ad6527b6c19dea895ab84db4fa9dbc67a /source | |
parent | 816fc5a308c91e94411e6d4a86e8121295b14be3 (diff) |
Cleanup: unused variable, spelling
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenkernel/intern/gpencil_geom.c | 2 | ||||
-rw-r--r-- | source/blender/gpencil_modifiers/intern/MOD_gpencil_ui_common.c | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/gpencil_geom.c b/source/blender/blenkernel/intern/gpencil_geom.c index fb6500cfe1b..04403e264a4 100644 --- a/source/blender/blenkernel/intern/gpencil_geom.c +++ b/source/blender/blenkernel/intern/gpencil_geom.c @@ -1050,7 +1050,7 @@ void BKE_gpencil_stroke_2d_flat(const bGPDspoint *points, normalize_v3(locx); normalize_v3(locy); - /* Calculcate last point first. */ + /* Calculate last point first. */ const bGPDspoint *pt_last = &points[totpoints - 1]; float tmp[3]; sub_v3_v3v3(tmp, &pt_last->x, &pt0->x); diff --git a/source/blender/gpencil_modifiers/intern/MOD_gpencil_ui_common.c b/source/blender/gpencil_modifiers/intern/MOD_gpencil_ui_common.c index 0d2e7e93d52..94285b5032e 100644 --- a/source/blender/gpencil_modifiers/intern/MOD_gpencil_ui_common.c +++ b/source/blender/gpencil_modifiers/intern/MOD_gpencil_ui_common.c @@ -210,7 +210,6 @@ void gpencil_modifier_fading_draw(const bContext *UNUSED(C), Panel *panel) uiLayout *layout = panel->layout; uiLayoutSetPropSep(layout, true); - bool fading_enabled = RNA_boolean_get(ptr, "use_fading"); uiItemR(layout, ptr, "object", 0, NULL, ICON_CUBE); uiLayout *sub = uiLayoutColumn(layout, true); uiItemR(sub, ptr, "fading_start", 0, NULL, ICON_NONE); |