Fix T65699: gpencil weight paint unresponsive
This commit is contained in:
parent
8aa87972ca
commit
a0608340ae
Notes:
blender-bot
2023-02-14 03:06:28 +01:00
Referenced by issue #65727, Tooltips in 3d view broken (except view gizmos) Referenced by issue #65699, GPencil Weight Painting unresponsive Referenced by issue #63309, Vertex snap malfunction with small dimensions
|
@ -5765,6 +5765,7 @@ def km_3d_view_tool_edit_gpencil_to_sphere(params):
|
|||
)
|
||||
|
||||
|
||||
# Also used for weight paint.
|
||||
def km_3d_view_tool_sculpt_gpencil_paint(_params):
|
||||
return (
|
||||
"3D View Tool: Sculpt Gpencil, Paint",
|
||||
|
|
|
@ -1494,6 +1494,10 @@ class _defs_gpencil_weight:
|
|||
icon_prefix="ops.gpencil.sculpt_",
|
||||
type=bpy.types.GPencilSculptSettings,
|
||||
attr="weight_tool",
|
||||
tooldef_keywords=dict(
|
||||
operator="gpencil.sculpt_paint",
|
||||
keymap="3D View Tool: Sculpt Gpencil, Paint",
|
||||
),
|
||||
)
|
||||
|
||||
|
||||
|
|
|
@ -2130,6 +2130,7 @@ static int gpsculpt_brush_modal(bContext *C, wmOperator *op, const wmEvent *even
|
|||
return OPERATOR_RUNNING_MODAL;
|
||||
}
|
||||
|
||||
/* Also used for weight paint. */
|
||||
void GPENCIL_OT_sculpt_paint(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
|
|
Loading…
Reference in New Issue