Blender Git Commit Log

Git Commits -> Revision f674976

Revision f674976 by Germano Cavalcante (master)
April 1, 2021, 13:54 (GMT)
Curve: Remove 'CU_2D' flag used for nurbs

This fixes T86440

As the CU_2D flag is set for nurbs, a Curve can have 2D nurbs mixed with 3D.

But the UI does not allow this mixing. It updates all nurbs to 2D or 3D when set.

So remove this specific flag for nurbs.

This may break old files, since 2D curves with mixed 3D are now set as 3D.

Differential Revision: https://developer.blender.org/D10738

Commit Details:

Full Hash: f674976edd884d7a9a409042708f2b1169fd4e98
Parent Commit: 7a75766
Lines Changed: +86, -84

19 Modified Paths:

/source/blender/blenkernel/BKE_curve.h (+6, -6) (Diff)
/source/blender/blenkernel/intern/curve.c (+20, -29) (Diff)
/source/blender/blenkernel/intern/curve_convert.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/displist.c (+5, -5) (Diff)
/source/blender/blenkernel/intern/font.c (+0, -1) (Diff)
/source/blender/blenlib/intern/freetypefont.c (+0, -1) (Diff)
/source/blender/blenloader/intern/versioning_250.c (+0, -1) (Diff)
/source/blender/blenloader/intern/versioning_290.c (+21, -0) (Diff)
/source/blender/editors/curve/curve_intern.h (+4, -1) (Diff)
/source/blender/editors/curve/editcurve.c (+9, -12) (Diff)
/source/blender/editors/curve/editcurve_add.c (+5, -7) (Diff)
/source/blender/editors/curve/editcurve_paint.c (+1, -1) (Diff)
/source/blender/editors/object/object_add.c (+1, -1) (Diff)
/source/blender/editors/object/object_data_transform.c (+5, -4) (Diff)
/source/blender/editors/space_view3d/view3d_buttons.c (+3, -1) (Diff)
/source/blender/editors/transform/transform_convert_curve.c (+1, -5) (Diff)
/source/blender/editors/util/ed_transverts.c (+3, -1) (Diff)
/source/blender/makesdna/DNA_curve_types.h (+0, -1) (Diff)
/source/blender/makesrna/intern/rna_curve.c (+1, -6) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021