diff options
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenkernel/intern/curve.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/curve.cc b/source/blender/blenkernel/intern/curve.cc index 70edaccb244..dda2b5076a8 100644 --- a/source/blender/blenkernel/intern/curve.cc +++ b/source/blender/blenkernel/intern/curve.cc @@ -899,7 +899,7 @@ float BKE_nurb_calc_length(const Nurb *nu, int resolution) pntsit = points + 3; } - while (--b) { + while (--b > 0) { length += len_v3v3(prevpntsit, pntsit); prevpntsit = pntsit; pntsit += 3; |