Files
test/source/blender/blenkernel
Arystanbek Dyussenov 706a4c22b5 Implemented dynamic and multidimensional array support in RNA.
Example code: http://www.pasteall.org/7332/c.
New API functions: http://www.pasteall.org/7330/c.

Maximum number of dimensions is currently limited to 3, but can be increased arbitrarily if needed.

What this means for ID property access:

* MeshFace.verts - dynamic array, size 3 or 4 depending on MFace.v4
* MeshTextureFace.uv - dynamic, 2-dimensional array, size depends on MFace.v4
* Object.matrix - 2-dimensional array

What this means for functions:

* more intuitive API possibility, for example:
  Mesh.add_vertices([(x, y, z), (x, y, z), ...])
  Mesh.add_faces([(1, 2, 3), (4, 5, 6), ...])

Python part is not complete yet, e.g. it is possible to:

MeshFace.verts = (1, 2, 3) # even if Mesh.verts is (1, 2, 3, 4) and vice-versa
MeshTextureFace.uv = [(0.0, 0.0)] * 4 # only if a corresponding MFace is a quad

but the following won't work:

MeshTextureFace.uv[3] = (0.0, 0.0) # setting uv[3] modifies MTFace.uv[1][0] instead of MTFace.uv[3]
2009-08-25 17:06:36 +00:00
..
2009-08-25 01:46:05 +00:00
2.5
2009-01-10 19:34:23 +00:00
2009-08-18 15:27:48 +00:00
2009-07-20 23:52:53 +00:00
2009-08-12 09:54:29 +00:00
2009-07-17 02:43:15 +00:00
2009-08-18 12:58:51 +00:00
2.5
2009-01-07 14:46:50 +00:00
2008-08-30 14:32:16 +00:00
2.5
2009-06-19 23:05:21 +00:00
2009-06-08 20:08:19 +00:00
2009-06-13 11:09:13 +00:00
2009-07-02 19:41:31 +00:00
2008-08-30 14:32:16 +00:00
2009-07-02 19:41:31 +00:00
2.5
2009-01-23 14:43:25 +00:00
2009-08-18 15:27:48 +00:00
2009-06-23 00:09:26 +00:00
2.5
2009-01-04 14:14:06 +00:00
2007-09-02 17:25:03 +00:00
2009-01-28 23:29:27 +00:00
2.5
2009-01-27 19:32:44 +00:00
2009-03-17 22:27:15 +00:00
2.5
2009-01-04 14:14:06 +00:00
2.5
2009-01-13 15:18:41 +00:00
2.5
2009-04-20 10:13:55 +00:00
2009-08-03 14:40:10 +00:00
2009-08-21 02:51:56 +00:00
2009-08-21 18:15:50 +00:00
2009-08-02 13:15:20 +00:00
2009-07-22 09:41:41 +00:00
2009-08-09 21:16:39 +00:00
2009-08-20 16:00:17 +00:00
2009-08-20 00:33:59 +00:00
RNA
2009-07-21 20:05:16 +00:00
2009-08-15 18:58:01 +00:00
2009-08-20 00:33:59 +00:00
2009-08-12 09:54:29 +00:00
2009-02-28 23:33:35 +00:00
2009-08-09 21:16:39 +00:00
2009-08-09 21:16:39 +00:00
2009-08-20 00:33:59 +00:00
2.5
2009-06-19 23:05:21 +00:00
2009-07-11 22:22:53 +00:00
2009-08-20 00:33:59 +00:00