Blender Git Loki
Git Commits -> Revision 0a90a52
Revision 0a90a52 by Campbell Barton (master) May 26, 2008, 09:50 (GMT) |
* The displist would be uninitialized when nurbs bezieru/v was set and the order wasnt 3 or 4. add a function that checks nurbs can produce a valid line. check_valid_nurb_u/v * when check_valid_nurb_u/v fails, no curve is allocated or drawn. * knotsu/v could be NULL but some functions didn't check for this, make sure this is checked for everywhere. * The interface didnt change check the order when the bezier u/v flag was set, added functions clamp_nurb_order_u/v that takes into accound the number of points and the bezier u/v flag. |
Commit Details:
Full Hash: 0a90a52442071b8c346b8efade465eff714c37d8
SVN Revision: 14976
Parent Commit: b7c6da3
Lines Changed: +162, -77
6 Modified Paths:
/source/blender/blenkernel/BKE_curve.h (+7, -0) (Diff)
/source/blender/blenkernel/intern/curve.c (+72, -8) (Diff)
/source/blender/blenkernel/intern/displist.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/font.c (+2, -2) (Diff)
/source/blender/src/buttons_editing.c (+4, -4) (Diff)
/source/blender/src/editcurve.c (+76, -62) (Diff)
/source/blender/blenkernel/intern/curve.c (+72, -8) (Diff)
/source/blender/blenkernel/intern/displist.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/font.c (+2, -2) (Diff)
/source/blender/src/buttons_editing.c (+4, -4) (Diff)
/source/blender/src/editcurve.c (+76, -62) (Diff)