Commit: f3ce86918bd015e228a53cfadcb8ba5245b9df36
Author: Dilith Jayakody
Date:   Tue Jan 18 16:59:05 2022 +0530
Branches: soc-2021-curves
https://developer.blender.org/rBf3ce86918bd015e228a53cfadcb8ba5245b9df36

Bug fixes

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

M       release/datafiles/locale
M       source/blender/editors/curve/editcurve_pen.c

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

diff --git a/release/datafiles/locale b/release/datafiles/locale
index d46eacffd92..68f8874599d 160000
--- a/release/datafiles/locale
+++ b/release/datafiles/locale
@@ -1 +1 @@
-Subproject commit d46eacffd92496ae9702a71dfc4da235eaf7731b
+Subproject commit 68f8874599d7fbac10fa332535450d8a78fafda2
diff --git a/source/blender/editors/curve/editcurve_pen.c 
b/source/blender/editors/curve/editcurve_pen.c
index 1e4fecca525..2869ff0c2fb 100644
--- a/source/blender/editors/curve/editcurve_pen.c
+++ b/source/blender/editors/curve/editcurve_pen.c
@@ -581,7 +581,7 @@ static bool get_closest_vertex_to_point_in_nurbs(const 
ListBase *nurbs,
         int start = 0, end = 3;
         int handle_display = vc->v3d->overlay.handle_display;
         if (handle_display == CURVE_HANDLE_NONE ||
-            (handle_display == CURVE_HANDLE_SELECTED && !BEZT_ISSEL_IDX(bezt, 
1))) {
+            (handle_display == CURVE_HANDLE_SELECTED && 
!BEZT_ISSEL_ANY(bezt))) {
           start = 1, end = 2;
         }
         for (short j = start; j < end; j++) {
@@ -1188,7 +1188,7 @@ static void 
extrude_vertices_from_selected_endpoints(EditNurb *editnurb,
 static void deselect_all_center_vertices(ListBase *nurbs)
 {
   LISTBASE_FOREACH (Nurb *, nu1, nurbs) {
-    if (nu1->pntsu > 2) {
+    if (nu1->pntsu > 1) {
       int start, end;
       if (nu1->flagu & CU_NURB_CYCLIC) {
         start = 0;

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to