minor changes to the python api.
authorCampbell Barton <ideasman42@gmail.com>
Sun, 28 Nov 2010 06:03:30 +0000 (06:03 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sun, 28 Nov 2010 06:03:30 +0000 (06:03 +0000)
commit34ea1cf0b23977ab76b23b06f6ceb1fda5631f88
treefe8ed20a86405a088270ba5e8fef53ae1cb68972
parent9d3a17922cad62f1f73ba60eef669a091a2b8687
minor changes to the python api.
- pep8 script was giving an error on non utf8 scons source files.
- use PyList_SET_ITEM macro when list type is ensured.
- all mathutils types use subtypes to create new types when available.
- use defines MAT3_UNITY, MAT4_UNITY to initialize unit matrices.
23 files changed:
release/test/pep8.py
source/blender/blenkernel/intern/armature.c
source/blender/blenkernel/intern/constraint.c
source/blender/blenkernel/intern/particle.c
source/blender/blenlib/intern/math_geom.c
source/blender/editors/armature/editarmature.c
source/blender/editors/curve/editcurve.c
source/blender/editors/interface/interface_draw.c
source/blender/editors/physics/particle_edit.c
source/blender/editors/sculpt_paint/sculpt.c
source/blender/editors/transform/transform.c
source/blender/editors/transform/transform_constraints.c
source/blender/editors/transform/transform_manipulator.c
source/blender/modifiers/intern/MOD_screw.c
source/blender/python/generic/bgl.c
source/blender/python/generic/mathutils_color.c
source/blender/python/generic/mathutils_euler.c
source/blender/python/generic/mathutils_geometry.c
source/blender/python/generic/mathutils_matrix.c
source/blender/python/generic/mathutils_quat.c
source/blender/python/generic/mathutils_vector.c
source/blender/python/intern/bpy_rna.c
source/blender/render/intern/source/zbuf.c