mathutils matrix initialization now matches other mathutils types.
authorCampbell Barton <ideasman42@gmail.com>
Sun, 9 Jan 2011 14:30:16 +0000 (14:30 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sun, 9 Jan 2011 14:30:16 +0000 (14:30 +0000)
commit0660078b8bb5eac6f81bd352505dc6f7d72e06c1
tree5b30411aefe8827f358883b2ea21300152ea07c5
parent99e203dbd46237c204fa697374e21769473955f5
mathutils matrix initialization now matches other mathutils types.
(should have made this change along with the others).
Matrix([1, 2],  [3, 4]) --> Matrix(([1, 2], [3, 4]))
This is so adding initialization args works right.

Also simplify initialization code (re-use slice assignment).
source/blender/python/generic/mathutils_matrix.c
source/blender/python/generic/mathutils_matrix.h