Remove warnings
This commit is contained in:
@@ -664,8 +664,6 @@ static void do_lasso_select_curve__doSelect(
|
||||
void *userData, Nurb *UNUSED(nu), BPoint *bp, BezTriple *bezt, int beztindex, const float screen_co[2])
|
||||
{
|
||||
LassoSelectUserData *data = userData;
|
||||
Object *obedit = data->vc->obedit;
|
||||
Curve *cu = (Curve *)obedit->data;
|
||||
|
||||
const bool is_inside = BLI_lasso_is_point_inside(data->mcords, data->moves, screen_co[0], screen_co[1], IS_CLIPPED);
|
||||
if (bp) {
|
||||
@@ -1984,8 +1982,6 @@ static void do_nurbs_box_select__doSelect(
|
||||
void *userData, Nurb *UNUSED(nu), BPoint *bp, BezTriple *bezt, int beztindex, const float screen_co[2])
|
||||
{
|
||||
BoxSelectUserData *data = userData;
|
||||
Object *obedit = data->vc->obedit;
|
||||
Curve *cu = (Curve *)obedit->data;
|
||||
|
||||
const bool is_inside = BLI_rctf_isect_pt_v(data->rect_fl, screen_co);
|
||||
if (bp) {
|
||||
@@ -2912,8 +2908,6 @@ static void nurbscurve_circle_doSelect(
|
||||
void *userData, Nurb *UNUSED(nu), BPoint *bp, BezTriple *bezt, int beztindex, const float screen_co[2])
|
||||
{
|
||||
CircleSelectUserData *data = userData;
|
||||
Object *obedit = data->vc->obedit;
|
||||
Curve *cu = (Curve *)obedit->data;
|
||||
|
||||
if (len_squared_v2v2(data->mval_fl, screen_co) <= data->radius_squared) {
|
||||
if (bp) {
|
||||
|
||||
Reference in New Issue
Block a user