Blender Git Loki

Git Commits -> Revision 4e90dff

Revision 4e90dff by Campbell Barton (master)
October 21, 2020, 01:54 (GMT)
Cleanup: avoid error prone nested switch statements (missing break)

17cb2a6da0c88 missed a break statement after a nested switch,
while it didn't cause a bug nesting switch doesn't read well
and is prone to errors like this.

Split modal-keymap checks into their own branch to avoid this happening,
also use matching event checks for all gesture operators.

Commit Details:

Full Hash: 4e90dff60f465af5f0ed565d4b8946b9fd466b73
Parent Commit: 7167a57
Lines Changed: +167, -134

1 Modified Path:

/source/blender/windowmanager/intern/wm_gesture_ops.c (+167, -134) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021