Fix: Curves sculpt mode keymaps missing in preferences
These changes make the curves sculpt mode keymap consistent with other modes. They now show up in the keymap, for potential editing of tool shortcuts, etc. I don't fully understand this system, but at least these changes should make it consistent. Differential Revision: https://developer.blender.org/D15112
This commit is contained in:
@@ -88,6 +88,10 @@ _km_hierarchy = [
|
||||
_km_expand_from_toolsystem('VIEW_3D', 'SCULPT'),
|
||||
]),
|
||||
|
||||
('Sculpt Curves', 'EMPTY', 'WINDOW', [
|
||||
_km_expand_from_toolsystem('VIEW_3D', 'CURVES_SCULPT'),
|
||||
]),
|
||||
|
||||
('Particle', 'EMPTY', 'WINDOW', [
|
||||
_km_expand_from_toolsystem('VIEW_3D', 'PARTICLE'),
|
||||
]),
|
||||
|
@@ -270,6 +270,9 @@ wmKeyMap *WM_keymap_guess_opname(const bContext *C, const char *opname)
|
||||
break;
|
||||
}
|
||||
}
|
||||
else if (STRPREFIX(opname, "CURVES_SCULPT_OT")) {
|
||||
km = WM_keymap_find_all(wm, "Sculpt Curves", 0, 0);
|
||||
}
|
||||
else if (STRPREFIX(opname, "MBALL_OT")) {
|
||||
km = WM_keymap_find_all(wm, "Metaball", 0, 0);
|
||||
|
||||
|
Reference in New Issue
Block a user