Fix #104698: Assert and failure adding shortcuts to curves sculpt tools #104791

Merged
Hans Goudey merged 1 commits from HooglyBoogly/blender:curves-sculpt-tools-keymap into blender-v3.5-release 2023-02-16 13:47:22 +01:00

1 Commits

Author SHA1 Message Date
Hans Goudey e2763a8361 Fix: Assert and failure adding shortcuts to curves sculpt tools
The keymap name in `WM_keymap_guess_from_context` didn't match the
name of the keymap in the Blender default keymap (`km_sculpt_curves`).
Fix by changing the utility function to match the keymap name.

Before right clicking on any tool in curves sculpt mode gave an assert,
now it shows a context menu.
2023-02-15 15:11:39 -05:00