Blender Git Commit Log

Git Commits -> Revision 802cc77

Revision 802cc77 by Joshua Leung (master)
November 26, 2009, 11:13 (GMT)
Patch #20037: Use named components for Drivers instead of array_index

This patch, by Elia Sarti (vekoon), simply adds the possibility to specify the final array component of the RNA path in the path itself,
e.g. using location[0] or location["x"] or even location.x,
instead of specifying this using an "array_index"

This should be easier for users to understand the driver system. The array-indices have been kept (but hidden from the UI under standard situations) since they are theoretically a tad faster than the in-path lookups still, and are easier for internal-tools to set for now...

Commit Details:

Full Hash: 802cc77f71d6a1deb1e4773f135653f836e84e15
SVN Revision: 24916
Parent Commit: baac1f2
Lines Changed: +124, -29

4 Modified Paths:

/source/blender/blenkernel/intern/fcurve.c (+1, -1) (Diff)
/source/blender/editors/space_graph/graph_buttons.c (+3, -1) (Diff)
/source/blender/makesrna/intern/rna_access.c (+115, -26) (Diff)
/source/blender/makesrna/RNA_access.h (+5, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021