Fixed segmentation fault when non-curve object is setting as a taper
authorSergey Sharybin <sergey.vfx@gmail.com>
Tue, 30 Mar 2010 14:33:05 +0000 (14:33 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Tue, 30 Mar 2010 14:33:05 +0000 (14:33 +0000)
commitd0f8d9f38cfffaa5117930f7724bddf3d4c68d72
tree211a487cc3fdb1da345b9b88be50df6c4d72caee
parent1902de715f15454a5abf6c7972f156d5c6288f9d
Fixed segmentation fault when non-curve object is setting as a taper

Deny user to select non-curve objects for taper and bevel lists, also
added some checking into displist and curve modules - object could be
converted from curve to mesh (would be better to unset bevel/taper
object in this case -- will try to implement a bit later).
source/blender/blenkernel/intern/curve.c
source/blender/blenkernel/intern/displist.c
source/blender/makesrna/intern/rna_curve.c