Add curve mode setting for different types of data #3
12
settings.py
12
settings.py
@ -23,13 +23,13 @@ class SCRIB_Settings(bpy.types.PropertyGroup):
|
||||
gpv3 = bpy.context.preferences.experimental.use_grease_pencil_version3
|
||||
else:
|
||||
gpv3 = False
|
||||
curve_mode: bpy.props.EnumProperty(default='CURVE',
|
||||
items= [('CURVE', 'Legacy', 'Use legacy curve type', 'CURVE_DATA', 0),\
|
||||
('CURVES', 'Hair', 'Use hair curves', 'CURVES_DATA', 1),
|
||||
('GP', 'Grease Pencil', 'Grease Pencil currently with limited support', 'OUTLINER_OB_GREASEPENCIL', 2),
|
||||
curve_mode: bpy.props.EnumProperty(default='CURVES',
|
||||
items= [('CURVE', 'Legacy', 'Use legacy curve type (Limited Support)', 'CURVE_DATA', 0),\
|
||||
('CURVES', 'Hair', 'Use hair curves (Fully supported)', 'CURVES_DATA', 1),
|
||||
('GP', 'Grease Pencil', 'Use Grease Pencil (Limited Support)', 'OUTLINER_OB_GREASEPENCIL', 2),
|
||||
] if gpv3 else
|
||||
[('CURVE', 'Legacy', 'Use legacy curve type', 'CURVE_DATA', 0),\
|
||||
('CURVES', 'Hair', 'Use hair curves', 'CURVES_DATA', 1),
|
||||
[('CURVE', 'Legacy', 'Use legacy curve type (Limited Support)', 'CURVE_DATA', 0),\
|
||||
('CURVES', 'Hair', 'Use hair curves (Full Support)', 'CURVES_DATA', 1),
|
||||
])
|
||||
#preset_mode
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user