Blender Git Commit Log

Git Commits -> Revision 985a4c1

Revision 985a4c1 by Brecht Van Lommel (master)
March 25, 2009, 20:29 (GMT)
RNA:
* Test with constructing RNA paths from pointer + property, based on
a callback per struct. For animato we'll need to be able to do this,
for keyframing from buttons, unless we can somehow derive the paths
from the interface code, which seems like an unnecessary burden.

However constructing such paths is not always quick, and we need a
fast way to find out if a property is animated for drawing buttons,
so this may not be the best solution.

See rna_mesh.c for some callbacks created as a test.

* Added BLI_sprintfN to mallocN a new string using printf style
formatting.

Commit Details:

Full Hash: 985a4c1e5ed9c00face5bcf69048bf108ff99aaf
SVN Revision: 19413
Parent Commit: 232edfa
Lines Changed: +195, -7

13 Modified Paths:

/source/blender/blenlib/BLI_string.h (+6, -0) (Diff)
/source/blender/blenlib/intern/string.c (+19, -0) (Diff)
/source/blender/makesrna/intern/makesrna.c (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_access.c (+29, -2) (Diff)
/source/blender/makesrna/intern/rna_define.c (+10, -0) (Diff)
/source/blender/makesrna/intern/rna_internal_types.h (+4, -0) (Diff)
/source/blender/makesrna/intern/rna_key.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_lattice.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_mesh.c (+120, -1) (Diff)
/source/blender/makesrna/intern/rna_packedfile.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_world.c (+0, -1) (Diff)
/source/blender/makesrna/RNA_access.h (+2, -0) (Diff)
/source/blender/makesrna/RNA_define.h (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021