Curves: save active point to file
[blender.git] / source / blender / editors / curve / editcurve_add.c
index a1d144a92e9638042b0860e71a497f5a297f1bc4..c2a7a509fb3ab1d04c54a64fc44e3b840d5f4c52 100644 (file)
@@ -459,7 +459,7 @@ Nurb *add_nurbs_primitive(bContext *C, Object *obedit, float mat[4][4], int type
        if (nu) { /* should always be set */
                nu->flag |= CU_SMOOTH;
                cu->actnu = BLI_countlist(editnurb);
-               cu->lastsel = NULL;
+               cu->actvert = CU_ACT_NONE;
 
                BKE_nurb_test2D(nu);
        }