Blender Git Loki

Git Commits -> Revision 6ec52fc

Revision 6ec52fc by Brecht Van Lommel (master)
January 4, 2009, 19:25 (GMT)
RNA

* DNA_cloth_types.h, patch by Roelf de Kock. The gravity[3] member
is not being parsed correct by makesdna.c and will give issues
even when trying to fix it. Worked around it for now in RNA by
wrapping it manually, but this should really be fixed in the DNA
genetics code, added a comment about it in DNA_cloth_types.h.

* Handle vertex groups and uv layers more consistent now. They are
all exposed as strings now. Reason is that indices don't really
say much, and a direct pointer is not always possible because for
example a uv layer in a material can be used for multiple objects
and so there is no single pointer. In python it is not too hard
to use either since the strings works as a key for lookups.

For the user interface we can later think of some method to
generate popup menus in a way that works for vertex groups,
uv layers, bones etc.

* This also fixes the XXX's in rna_modifier.c, I think that can be
marked done.

Commit Details:

Full Hash: 6ec52fc1b573e2904d7d08728f120589b649a08b
SVN Revision: 18322
Parent Commit: df6caae
Lines Changed: +646, -21

1 Added Path:

/source/blender/makesrna/intern/rna_cloth.c (+343, -0) (View)

11 Modified Paths:

/source/blender/gpu/GPU_draw.h (+1, -1) (Diff)
/source/blender/makesdna/DNA_cloth_types.h (+5, -2) (Diff)
/source/blender/makesrna/intern/CMakeLists.txt (+1, -0) (Diff)
/source/blender/makesrna/intern/makesrna.c (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_define.c (+0, -1) (Diff)
/source/blender/makesrna/intern/rna_internal.h (+8, -0) (Diff)
/source/blender/makesrna/intern/rna_material.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_modifier.c (+154, -6) (Diff)
/source/blender/makesrna/intern/rna_object.c (+126, -6) (Diff)
/source/blender/makesrna/intern/rna_texture.c (+4, -4) (Diff)
/source/blender/makesrna/RNA_access.h (+2, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021