GPencil: More cleanups missing in previous commit
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user