Fix #123396: GPencil: Show brush options for GPv3 #123412
@ -104,7 +104,7 @@ class GreasePencilDisplayPanel:
|
||||
settings = tool_settings.gpencil_sculpt_paint
|
||||
elif context.mode == 'WEIGHT_GPENCIL' or context.mode == 'WEIGHT_GREASE_PENCIL':
|
||||
settings = tool_settings.gpencil_weight_paint
|
||||
elif context.mode == 'VERTEX_GPENCIL' or context.mode == 'VERTEX_GREASE_PENCIL':
|
||||
elif context.mode == 'VERTEX_GPENCIL':
|
||||
ChengduLittleA marked this conversation as resolved
Outdated
|
||||
settings = tool_settings.gpencil_vertex_paint
|
||||
brush = settings.brush
|
||||
gp_settings = brush.gpencil_settings
|
||||
@ -139,7 +139,7 @@ class GreasePencilDisplayPanel:
|
||||
|
||||
col.prop(brush, "cursor_color_add", text="Cursor Color")
|
||||
|
||||
elif ob.mode == 'VERTEX_GPENCIL' or ob.mode == 'VERTEX_GREASE_PENCIL':
|
||||
elif ob.mode == 'VERTEX_GPENCIL':
|
||||
row = layout.row(align=True)
|
||||
row.prop(settings, "show_brush", text="Display Cursor")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user
VERTEX_GREASE_PENCIL
? does not exist AFAIK 🙃Ah thanks! Interesting, indeed! Will remove this part.