diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2020-03-27 14:39:18 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2020-03-27 14:39:18 +0300 |
commit | 7fd71c1694ebd2d20f9aa8bf594be0b24bd690b9 (patch) | |
tree | 5959fa1034356fbe314a0e798cc4c3168d5607df | |
parent | 70f56167d013d5ad5de040151648c5c86cc39bc4 (diff) |
GPencil: More cleanups missing in previous commit
-rw-r--r-- | source/blender/draw/intern/draw_cache_impl_gpencil.c | 1 | ||||
-rw-r--r-- | source/blender/editors/gpencil/gpencil_select.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/draw/intern/draw_cache_impl_gpencil.c b/source/blender/draw/intern/draw_cache_impl_gpencil.c index 502bc1a3967..4a474768226 100644 --- a/source/blender/draw/intern/draw_cache_impl_gpencil.c +++ b/source/blender/draw/intern/draw_cache_impl_gpencil.c @@ -542,7 +542,6 @@ static void gpencil_sbuffer_stroke_ensure(bGPdata *gpd, bool do_stroke, bool do_ /* Get origin to reproject points. */ float origin[3]; - bGPDlayer *gpl = BKE_gpencil_layer_active_get(gpd); ToolSettings *ts = scene->toolsettings; ED_gpencil_drawing_reference_get(scene, ob, ts->gpencil_v3d_align, origin); diff --git a/source/blender/editors/gpencil/gpencil_select.c b/source/blender/editors/gpencil/gpencil_select.c index 997a1d2b354..97f0a578d9d 100644 --- a/source/blender/editors/gpencil/gpencil_select.c +++ b/source/blender/editors/gpencil/gpencil_select.c @@ -919,7 +919,6 @@ static bool gp_stroke_do_circle_sel(bGPdata *UNUSED(gpd), if (((!ELEM(V2D_IS_CLIPPED, x0, y0)) && BLI_rcti_isect_pt(rect, x0, y0)) || ((!ELEM(V2D_IS_CLIPPED, x1, y1)) && BLI_rcti_isect_pt(rect, x1, y1))) { float mval[2] = {(float)mx, (float)my}; - float mvalo[2] = {(float)mx, (float)my}; /* dummy - this isn't used... */ /* check if point segment of stroke had anything to do with * eraser region (either within stroke painted, or on its lines) |