Blender Git Loki
Git Commits -> Revision b863bf9
Revision b863bf9 by Brecht Van Lommel (master) November 24, 2008, 12:12 (GMT) |
RNA * Wrap most user editable data in DNA_mesh_types.h and DNA_meshdata_types.h. Still needs to be improved in some areas though, especially how to deal with data layers (expose per element or as array, or both?), and data in face corners (bmesh type data structures are more logical here). Tweaks to RNA defining to make some cases easier: * Added range callback function for int/float. * Added 'skip' callback for listbase and array iterators to skip items in the collection. * Extra error print when calling wrong define_property_*_sdna functions. * Also made button code respect non_editable flag, is quick change though, need to add support for properly graying out etc. |
Commit Details:
Full Hash: b863bf98e53a709e3353e80d87f574f860187cdb
SVN Revision: 17554
Parent Commit: 10c58ad
Lines Changed: +1215, -153
14 Modified Paths:
/source/blender/editors/interface/interface.c (+26, -24) (Diff)
/source/blender/editors/screen/screen_ops.c (+4, -1) (Diff)
/source/blender/makesrna/intern/makesrna.c (+9, -8) (Diff)
/source/blender/makesrna/intern/rna_access.c (+85, -16) (Diff)
/source/blender/makesrna/intern/rna_define.c (+69, -10) (Diff)
/source/blender/makesrna/intern/rna_internal.h (+6, -2) (Diff)
/source/blender/makesrna/intern/rna_internal_types.h (+10, -0) (Diff)
/source/blender/makesrna/intern/rna_lamp.c (+7, -1) (Diff)
/source/blender/makesrna/intern/rna_main.c (+27, -27) (Diff)
/source/blender/makesrna/intern/rna_mesh.c (+911, -7) (Diff)
/source/blender/makesrna/intern/rna_rna.c (+43, -51) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+14, -3) (Diff)
/source/blender/makesrna/RNA_define.h (+3, -3) (Diff)
/source/blender/makesrna/RNA_types.h (+1, -0) (Diff)
/source/blender/editors/screen/screen_ops.c (+4, -1) (Diff)
/source/blender/makesrna/intern/makesrna.c (+9, -8) (Diff)
/source/blender/makesrna/intern/rna_access.c (+85, -16) (Diff)
/source/blender/makesrna/intern/rna_define.c (+69, -10) (Diff)
/source/blender/makesrna/intern/rna_internal.h (+6, -2) (Diff)
/source/blender/makesrna/intern/rna_internal_types.h (+10, -0) (Diff)
/source/blender/makesrna/intern/rna_lamp.c (+7, -1) (Diff)
/source/blender/makesrna/intern/rna_main.c (+27, -27) (Diff)
/source/blender/makesrna/intern/rna_mesh.c (+911, -7) (Diff)
/source/blender/makesrna/intern/rna_rna.c (+43, -51) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+14, -3) (Diff)
/source/blender/makesrna/RNA_define.h (+3, -3) (Diff)
/source/blender/makesrna/RNA_types.h (+1, -0) (Diff)