Blender Git Loki

Git Commits -> Revision 09f46ef

Revision 09f46ef by Campbell Barton (master)
January 2, 2019, 05:39 (GMT)
PyRNA: enum no longer returns first item when the value isn't found

This hides errors & makes it confusing to debug mistakes
when the enum items aren't correct.

Return an empty string instead.

Commit Details:

Full Hash: 09f46ef6faf5e95db966825e39941ce0378ce4a9
Parent Commit: aae5f2b
Lines Changed: +6, -18

1 Modified Path:

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