Fix compilation error: "too many arguments to function"

Seem on linux.

Caused by rB6ec463a4b754bf69baf94ba6b3683655f6834ccd
This commit is contained in:
Germano Cavalcante 2021-04-01 12:12:31 -03:00
parent 6ec463a4b7
commit 2dc16223de
1 changed files with 2 additions and 9 deletions

View File

@ -4825,15 +4825,8 @@ static int edbm_select_axis_exec(bContext *C, wmOperator *op)
float axis_mat[3][3];
/* 3D view variables may be NULL, (no need to check in poll function). */
ED_transform_calc_orientation_from_type_ex(C,
axis_mat,
scene,
CTX_wm_region_view3d(C),
obedit,
obedit,
orientation,
0,
V3D_AROUND_ACTIVE);
ED_transform_calc_orientation_from_type_ex(
C, axis_mat, scene, CTX_wm_region_view3d(C), obedit, obedit, orientation, V3D_AROUND_ACTIVE);
const float *axis_vector = axis_mat[axis];