Add curve mode setting for different types of data #3

Merged
Simon Thommes merged 6 commits from add-curve-modes into master 2024-03-15 17:26:52 +01:00
Showing only changes of commit 96da29d120 - Show all commits

View File

@ -23,13 +23,13 @@ class SCRIB_Settings(bpy.types.PropertyGroup):
gpv3 = bpy.context.preferences.experimental.use_grease_pencil_version3 gpv3 = bpy.context.preferences.experimental.use_grease_pencil_version3
else: else:
gpv3 = False gpv3 = False
curve_mode: bpy.props.EnumProperty(default='CURVE', curve_mode: bpy.props.EnumProperty(default='CURVES',
items= [('CURVE', 'Legacy', 'Use legacy curve type', 'CURVE_DATA', 0),\ items= [('CURVE', 'Legacy', 'Use legacy curve type (Limited Support)', 'CURVE_DATA', 0),\
('CURVES', 'Hair', 'Use hair curves', 'CURVES_DATA', 1), ('CURVES', 'Hair', 'Use hair curves (Fully supported)', 'CURVES_DATA', 1),
('GP', 'Grease Pencil', 'Grease Pencil currently with limited support', 'OUTLINER_OB_GREASEPENCIL', 2), ('GP', 'Grease Pencil', 'Use Grease Pencil (Limited Support)', 'OUTLINER_OB_GREASEPENCIL', 2),
] if gpv3 else ] if gpv3 else
[('CURVE', 'Legacy', 'Use legacy curve type', 'CURVE_DATA', 0),\ [('CURVE', 'Legacy', 'Use legacy curve type (Limited Support)', 'CURVE_DATA', 0),\
('CURVES', 'Hair', 'Use hair curves', 'CURVES_DATA', 1), ('CURVES', 'Hair', 'Use hair curves (Full Support)', 'CURVES_DATA', 1),
]) ])
#preset_mode #preset_mode