Fix T74635: GPencil RMB-menu brush settings not working in Sculpt and Weight Paint modes
This commit is contained in:
parent
f2c64517b5
commit
e1b70e9f9c
Notes:
blender-bot
2023-10-04 09:42:55 +02:00
Referenced by issue #74635, Grease Pencil RMB-menu brush settings not working in Sculpt and Weight Paint modes
|
@ -6900,7 +6900,7 @@ class VIEW3D_PT_gpencil_sculpt_context_menu(Panel):
|
|||
|
||||
def draw(self, context):
|
||||
ts = context.tool_settings
|
||||
settings = ts.gpencil_paint
|
||||
settings = ts.gpencil_sculpt_paint
|
||||
brush = settings.brush
|
||||
|
||||
layout = self.layout
|
||||
|
@ -6920,7 +6920,7 @@ class VIEW3D_PT_gpencil_weight_context_menu(Panel):
|
|||
|
||||
def draw(self, context):
|
||||
ts = context.tool_settings
|
||||
settings = ts.gpencil_paint
|
||||
settings = ts.gpencil_weight_paint
|
||||
brush = settings.brush
|
||||
|
||||
layout = self.layout
|
||||
|
|
Loading…
Reference in New Issue