[Bf-blender-cvs] [b10649f27b6] master: Cleanup: unused variable, spelling
Campbell Barton
noreply at git.blender.org
Thu Apr 29 09:23:02 CEST 2021
Commit: b10649f27b64d4955a8b9b798c3fd6f0c2787661
Author: Campbell Barton
Date: Thu Apr 29 17:21:50 2021 +1000
Branches: master
https://developer.blender.org/rBb10649f27b64d4955a8b9b798c3fd6f0c2787661
Cleanup: unused variable, spelling
===================================================================
M source/blender/blenkernel/intern/gpencil_geom.c
M source/blender/gpencil_modifiers/intern/MOD_gpencil_ui_common.c
===================================================================
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);
More information about the Bf-blender-cvs
mailing list