Blender Git Loki

Git Commits -> Revision 02a5cf7

Revision 02a5cf7 by Dalai Felinto (master)
April 10, 2015, 14:10 (GMT)
Fix for debug-only crash when setting "Any" keymap input type

Another one of those assert crashes when passing values != than 1 and 0
(in this case the value is -1)

Notes from reviewer:
--------------------
These should really be enums. since valid values are KM_ANY,
KM_MOD_FIRST, KM_MOD_SECOND.

But can see at some point this was changed from an enum so... I guess
this is the only way.

Reviewers: campbellbarton

Differential Revision: https://developer.blender.org/D1227

Commit Details:

Full Hash: 02a5cf75a21ba0aeb394b3ff0b9882f950187adc
Parent Commit: f75bbe2
Lines Changed: +27, -0

1 Modified Path:

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