[Bf-blender-cvs] [2dc16223de7] master: Fix compilation error: "too many arguments to function"

Germano Cavalcante noreply at git.blender.org
Thu Apr 1 17:12:51 CEST 2021


Commit: 2dc16223de793073970557e46703f1794248a4fc
Author: Germano Cavalcante
Date:   Thu Apr 1 12:12:31 2021 -0300
Branches: master
https://developer.blender.org/rB2dc16223de793073970557e46703f1794248a4fc

Fix compilation error: "too many arguments to function"

Seem on linux.

Caused by rB6ec463a4b754bf69baf94ba6b3683655f6834ccd

===================================================================

M	source/blender/editors/mesh/editmesh_select.c

===================================================================

diff --git a/source/blender/editors/mesh/editmesh_select.c b/source/blender/editors/mesh/editmesh_select.c
index 4864c7de123..f5d91f29f74 100644
--- a/source/blender/editors/mesh/editmesh_select.c
+++ b/source/blender/editors/mesh/editmesh_select.c
@@ -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];



More information about the Bf-blender-cvs mailing list