Blender Git Loki

Git Commits -> Revision e681ac2

October 18, 2019, 12:43 (GMT)
File Browser: Add F2 shortcut to rename files

Previously, we used Ctrl+Click for renaming, but since that shortcut is
now consistently used to add items to the selection, we can't use that.
In other cases we switched to F2 now, so it makes sense for the File
Browser too.
Further, AFAIK renaming was only possible through the context menu,
which makes it hard to discover in the right click select keymap (have
to press W).

Note that I had to do some internal changes to ensure the context menu
always acts on the clicked/hovered item, while the shortcut operates on
the active item. William and I agreed that this is likely the behavior
expected by most users.

Commit Details:

Full Hash: e681ac205f1e2bc4d6081d13f058b3fab26aa270
Parent Commit: 047fda1
Committed By: YimingWu
Lines Changed: +29, -37

3 Modified Paths:

/release/scripts/presets/keyconfig/keymap_data/blender_default.py (+1, -0) (Diff)
/release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py (+1, -0) (Diff)
/source/blender/editors/space_file/file_ops.c (+27, -37) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021