Blender Git Commit Log

Git Commits -> Revision 70f6255

Revision 70f6255 by Campbell Barton (master)
July 17, 2009, 02:31 (GMT)
bpy rna

Calling rna functions with invalid keywords, too many keywords and too many args would fail silently
- now raise an error with invalid keywords and a list of valid ones, raise an error when too many args are given.
- calling rna functions would alloc a ParameterList each time, changed to use a stack variable (2 pointers and an int).
- store the number of parameters ParameterList
- python exception types were wrong in many cases, (using attribute error rather then type error)
- fixes to small errors in python UI scripts.

Commit Details:

Full Hash: 70f6255433fcb1f5551199ef7a285a9ab80a3318
SVN Revision: 21648
Parent Commit: c6c853d
Lines Changed: +206, -105

9 Modified Paths:

/release/ui/buttons_physics_fluid.py (+24, -6) (Diff)
/release/ui/buttons_physics_softbody.py (+2, -2) (Diff)
/source/blender/editors/space_console/space_console.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_access.c (+21, -19) (Diff)
/source/blender/makesrna/intern/rna_internal_types.h (+0, -8) (Diff)
/source/blender/makesrna/intern/rna_ui.c (+32, -32) (Diff)
/source/blender/makesrna/RNA_access.h (+2, -1) (Diff)
/source/blender/makesrna/RNA_types.h (+12, -3) (Diff)
/source/blender/python/intern/bpy_rna.c (+112, -33) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021