diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-08-03 16:06:03 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-08-03 16:06:03 +0300 |
commit | 1d549530d882bd9b4d7466e59c4cddd8b4cb4586 (patch) | |
tree | 9fc816e16d58714c5b9e4d1372bf4c7207ad424b /source | |
parent | 8d945bf3cbf0daf8d77ca47d111cc707d41c315a (diff) |
Fix own mistake in curve refactor
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/curve/editcurve_select.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/curve/editcurve_select.c b/source/blender/editors/curve/editcurve_select.c index 55d8d10856b..cbb533a0440 100644 --- a/source/blender/editors/curve/editcurve_select.c +++ b/source/blender/editors/curve/editcurve_select.c @@ -148,7 +148,7 @@ int ED_curve_nurb_select_count(Curve *cu, Nurb *nu) for (i = nu->pntsu, bezt = nu->bezt; i--; bezt++) { if (BEZT_ISSEL_ANY_HIDDENHANDLES(cu, bezt)) { - return sel++; + sel++; } } } @@ -158,7 +158,7 @@ int ED_curve_nurb_select_count(Curve *cu, Nurb *nu) for (i = nu->pntsu * nu->pntsv, bp = nu->bp; i--; bp++) { if (bp->f1 & SELECT) { - return sel++; + sel++; } } } |