From f674976edd884d7a9a409042708f2b1169fd4e98 Mon Sep 17 00:00:00 2001 From: Germano Cavalcante Date: Thu, 1 Apr 2021 10:41:12 -0300 Subject: 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 --- source/blender/makesdna/DNA_curve_types.h | 1 - 1 file changed, 1 deletion(-) (limited to 'source/blender/makesdna/DNA_curve_types.h') diff --git a/source/blender/makesdna/DNA_curve_types.h b/source/blender/makesdna/DNA_curve_types.h index ff2e7fc500a..02a1a713d02 100644 --- a/source/blender/makesdna/DNA_curve_types.h +++ b/source/blender/makesdna/DNA_curve_types.h @@ -425,7 +425,6 @@ enum { /* Nurb.flag */ enum { CU_SMOOTH = 1 << 0, - CU_2D = 1 << 3, /* moved from type since 2.4x */ }; /* Nurb.type */ -- cgit v1.2.3