diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-10-28 20:39:43 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-10-28 20:39:43 +0300 |
commit | 2c35bcb356d127113accd70ed6e011dae033dbe1 (patch) | |
tree | eea90360857000c6cff0ef57c8103e5639339a58 /source/blender/editors/curve/editcurve.c | |
parent | 2f0bdcb306999ff610ecc6073af27b2311924153 (diff) |
Cleanup: use SELECT flag
Diffstat (limited to 'source/blender/editors/curve/editcurve.c')
-rw-r--r-- | source/blender/editors/curve/editcurve.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/curve/editcurve.c b/source/blender/editors/curve/editcurve.c index eed059b1aef..9c4ee4e09be 100644 --- a/source/blender/editors/curve/editcurve.c +++ b/source/blender/editors/curve/editcurve.c @@ -4799,7 +4799,7 @@ bool ed_editnurb_spin(float viewmat[4][4], Object *obedit, const float axis[3], ok = true; for (a = 0; a < 7; a++) { - ok = ed_editnurb_extrude_flag(cu->editnurb, 1); + ok = ed_editnurb_extrude_flag(cu->editnurb, SELECT); if (ok == false) return changed; @@ -5260,7 +5260,7 @@ static int extrude_exec(bContext *C, wmOperator *UNUSED(op)) addvert_Nurb(C, 'e', NULL); } else { - if (ed_editnurb_extrude_flag(editnurb, 1)) { /* '1'= flag */ + if (ed_editnurb_extrude_flag(editnurb, SELECT)) { if (ED_curve_updateAnimPaths(obedit->data)) WM_event_add_notifier(C, NC_OBJECT | ND_KEYS, obedit); |