GPv3: Missing default tool for paint mode

This broke after introduction of new grease pencil
paint mode 3d99d05f00
Entry in `toolsystem_default_tool` was missing

Pull Request: https://projects.blender.org/blender/blender/pulls/109722
This commit is contained in:
Pratik Borhade 2023-07-05 12:03:51 +02:00 committed by Falk David
parent bad41885db
commit b14435fd93
1 changed files with 1 additions and 0 deletions

View File

@ -718,6 +718,7 @@ static const char *toolsystem_default_tool(const bToolKey *tkey)
case CTX_MODE_PAINT_WEIGHT:
case CTX_MODE_PAINT_TEXTURE:
case CTX_MODE_PAINT_GPENCIL_LEGACY:
case CTX_MODE_PAINT_GREASE_PENCIL:
return "builtin_brush.Draw";
case CTX_MODE_SCULPT_GPENCIL_LEGACY:
return "builtin_brush.Push";