Blender Git Commit Log
Git Commits -> Revision f8bc346
Revision f8bc346 by Campbell Barton (master) November 27, 2012, 00:50 (GMT) |
bmesh/py operator api: add type checking for element buffers, there was nothing stopping python from passing any element type into an argument when in some cases only verts/edges/faces were expected. now operator args define which types they support. |
Commit Details:
Full Hash: f8bc346effae72fc9ef27e3e750f4983286a2012
SVN Revision: 52589
Parent Commit: f9e339e
Lines Changed: +262, -225
16 Modified Paths:
/source/blender/bmesh/bmesh_class.h (+1, -0) (Diff)
/source/blender/bmesh/intern/bmesh_opdefines.c (+145, -146) (Diff)
/source/blender/bmesh/intern/bmesh_operators.c (+21, -9) (Diff)
/source/blender/bmesh/intern/bmesh_operator_api.h (+33, -25) (Diff)
/source/blender/bmesh/intern/bmesh_operator_api_inline.h (+11, -11) (Diff)
/source/blender/bmesh/operators/bmo_dupe.c (+5, -5) (Diff)
/source/blender/bmesh/operators/bmo_extrude.c (+1, -1) (Diff)
/source/blender/bmesh/operators/bmo_mirror.c (+2, -2) (Diff)
/source/blender/bmesh/operators/bmo_subdivide.c (+4, -4) (Diff)
/source/blender/bmesh/operators/bmo_utils.c (+2, -2) (Diff)
/source/blender/editors/mesh/editmesh_knife.c (+1, -1) (Diff)
/source/blender/editors/mesh/editmesh_select.c (+3, -3) (Diff)
/source/blender/editors/mesh/editmesh_slide.c (+2, -2) (Diff)
/source/blender/editors/mesh/editmesh_tools.c (+5, -5) (Diff)
/source/blender/editors/mesh/editmesh_utils.c (+3, -3) (Diff)
/source/blender/python/bmesh/bmesh_py_ops.c (+23, -6) (Diff)
/source/blender/bmesh/intern/bmesh_opdefines.c (+145, -146) (Diff)
/source/blender/bmesh/intern/bmesh_operators.c (+21, -9) (Diff)
/source/blender/bmesh/intern/bmesh_operator_api.h (+33, -25) (Diff)
/source/blender/bmesh/intern/bmesh_operator_api_inline.h (+11, -11) (Diff)
/source/blender/bmesh/operators/bmo_dupe.c (+5, -5) (Diff)
/source/blender/bmesh/operators/bmo_extrude.c (+1, -1) (Diff)
/source/blender/bmesh/operators/bmo_mirror.c (+2, -2) (Diff)
/source/blender/bmesh/operators/bmo_subdivide.c (+4, -4) (Diff)
/source/blender/bmesh/operators/bmo_utils.c (+2, -2) (Diff)
/source/blender/editors/mesh/editmesh_knife.c (+1, -1) (Diff)
/source/blender/editors/mesh/editmesh_select.c (+3, -3) (Diff)
/source/blender/editors/mesh/editmesh_slide.c (+2, -2) (Diff)
/source/blender/editors/mesh/editmesh_tools.c (+5, -5) (Diff)
/source/blender/editors/mesh/editmesh_utils.c (+3, -3) (Diff)
/source/blender/python/bmesh/bmesh_py_ops.c (+23, -6) (Diff)