fix for own bugs in curves.
authorCampbell Barton <ideasman42@gmail.com>
Mon, 6 Oct 2008 06:10:14 +0000 (06:10 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 6 Oct 2008 06:10:14 +0000 (06:10 +0000)
commit6c2738ef48bdc7d535d858293a635a29b7269cf3
tree58b3099e13910e29a105737f2fe4a66f2a7cace1
parent002725d72afd2143437fde556b292e9b427640b2
fix for own bugs in curves.
- the number of segments was always 1 too many on cyclic curves.
- [#17739] - normals were not being calculated when rendering curves.

Replaced macro DL_SURFINDEX with a function. it that assumes variable names and could break from the loop that called it.
source/blender/blenkernel/BKE_displist.h
source/blender/blenkernel/intern/curve.c
source/blender/blenkernel/intern/displist.c
source/blender/blenkernel/intern/exotic.c
source/blender/python/api2_2x/NMesh.c
source/blender/render/intern/source/convertblender.c