diff options
author | Germano <germano.costa@ig.com.br> | 2018-01-03 04:44:01 +0300 |
---|---|---|
committer | Germano <germano.costa@ig.com.br> | 2018-01-03 04:44:01 +0300 |
commit | 060fdb49d64857ff1cbf9937420ed70b10b17086 (patch) | |
tree | f8e814802143bbf44d9595ba25f73b413dac0b60 /source/blender/editors/space_view3d | |
parent | 2a57a464410e7089fe31e5dcdc8415408ed4e5f3 (diff) |
Fix an error on last commit
`count` here is multiplied by 4.
Diffstat (limited to 'source/blender/editors/space_view3d')
-rw-r--r-- | source/blender/editors/space_view3d/drawobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/drawobject.c b/source/blender/editors/space_view3d/drawobject.c index 16a15015e14..58002880c5e 100644 --- a/source/blender/editors/space_view3d/drawobject.c +++ b/source/blender/editors/space_view3d/drawobject.c @@ -7405,7 +7405,7 @@ static void draw_editnurb( } #else /* Same as loop above */ - count += (nr / (skip + 1)) + ((nr % (skip + 1)) != 0); + count += 4 * ((nr / (skip + 1)) + ((nr % (skip + 1)) != 0)); #endif } |