[Bf-blender-cvs] [989d1fdba5c] soc-2021-curves: Fix incorrect argument passing

Dilith Jayakody noreply at git.blender.org
Sun Apr 3 17:34:20 CEST 2022


Commit: 989d1fdba5c482b6a27aba81e92315fd149607ef
Author: Dilith Jayakody
Date:   Sat Mar 26 11:26:50 2022 +0530
Branches: soc-2021-curves
https://developer.blender.org/rB989d1fdba5c482b6a27aba81e92315fd149607ef

Fix incorrect argument passing

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

M	source/blender/editors/curve/editcurve_query.c

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

diff --git a/source/blender/editors/curve/editcurve_query.c b/source/blender/editors/curve/editcurve_query.c
index 0995d34a41d..d52a1af5268 100644
--- a/source/blender/editors/curve/editcurve_query.c
+++ b/source/blender/editors/curve/editcurve_query.c
@@ -152,7 +152,7 @@ bool ED_curve_pick_vert(ViewContext *vc,
                         short *r_handle,
                         Base **r_base)
 {
-  return ED_curve_pick_vert_ex(vc, 1, 1.0f, r_nurb, r_bezt, r_bp, r_handle, r_base);
+  return ED_curve_pick_vert_ex(vc, sel, 1.0f, r_nurb, r_bezt, r_bp, r_handle, r_base);
 }
 
 /** \} */



More information about the Bf-blender-cvs mailing list