forked from bartvdbraak/blender
Fixing a part of [#21516]. Curve preset menu doesn't appear to be a menu.
Converted to Operator Buttons. Fits well into the toolbar, lets hope, we won't get more presets. ;)
This commit is contained in:
parent
ac76568e67
commit
b89428ec4d
@ -745,7 +745,11 @@ class VIEW3D_PT_tools_brush_curve(PaintPanel):
|
||||
brush = settings.brush
|
||||
|
||||
layout.template_curve_mapping(brush, "curve", brush=True)
|
||||
layout.operator_menu_enum("brush.curve_preset", property="shape")
|
||||
|
||||
row = layout.row(align=True)
|
||||
row.operator("brush.curve_preset", text="Sharp").shape = 'SHARP'
|
||||
row.operator("brush.curve_preset", text="Smooth").shape = 'SMOOTH'
|
||||
row.operator("brush.curve_preset", text="Max").shape = 'MAX'
|
||||
|
||||
|
||||
class VIEW3D_PT_sculpt_options(PaintPanel):
|
||||
|
Loading…
Reference in New Issue
Block a user