Blender Git Commit Log

Git Commits -> Revision 978bc0d

Revision 978bc0d by Campbell Barton (master)
January 5, 2011, 14:49 (GMT)
fix for py/rna mesh.materials[:] where empty materials exist, would raise a runtime exception.
problem was there was no way to tell the difference between getting an empty item from a collection or the item not being found.

Commit Details:

Full Hash: 978bc0d8ace0ea10339afb25b50ef396e9cc1c8d
SVN Revision: 34098
Parent Commit: 2602444
Lines Changed: +50, -43

8 Modified Paths:

/source/blender/makesrna/intern/makesrna.c (+7, -5) (Diff)
/source/blender/makesrna/intern/rna_access.c (+2, -4) (Diff)
/source/blender/makesrna/intern/rna_internal.h (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_internal_types.h (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_pose.c (+8, -4) (Diff)
/source/blender/makesrna/intern/rna_rna.c (+23, -22) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+4, -3) (Diff)
/source/blender/python/intern/bpy_rna.c (+3, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021