Fix #107060: Curves sculpt mode does not select default tool

Regression in [0] when curve tool names changed to use brush names
with the utility function generate_from_enum_ex().

[0]: 786734e6c8
This commit is contained in:
Campbell Barton
2023-04-18 20:04:18 +10:00
parent 58b1c54671
commit 7b4d71683f

View File

@@ -723,7 +723,7 @@ static const char *toolsystem_default_tool(const bToolKey *tkey)
case CTX_MODE_VERTEX_GPENCIL:
return "builtin_brush.Draw";
case CTX_MODE_SCULPT_CURVES:
return "builtin_brush.density";
return "builtin_brush.Density";
/* end temporary hack. */
case CTX_MODE_PARTICLE: