Blender Git Loki

Git Commits -> Revision 4509559

Revision 4509559 by Julian Eisel (master)
March 25, 2016, 11:31 (GMT)
Fix modal bevel OP immediately stopping when called using enter key from search menu

Steps to reproduce were:
* Go to edit mode, select geometry
* Spacebar -> search for bevel OP
* Activate *using enter key*
* Immediately stops when releasing enter key

To fix we simply make sure the initial release event is ignored. For mouse events that wasn't an issue since activating an element is done on key release in menus. An alternative fix would be to do the same for enter key, but that's more risky. Also, checking event value is highly recommended anyway.

Commit Details:

Full Hash: 4509559c1318fb60e62dd8b9e6b702b44b398e20
Parent Commit: 7219988
Lines Changed: +6, -3

1 Modified Path:

/source/blender/editors/mesh/editmesh_bevel.c (+6, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021