Blender Git Commit Log

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)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021