Blender Git Commit Log
Git Commits -> Revision fc7944f
Revision fc7944f by Brecht Van Lommel (master) January 1, 2009, 15:52 (GMT) |
RNA * Added support for sending notifiers and updates when setting RNA properties. Per property, there is a notifier NC_/ND_ flag, and a function that is called. Currently only used for Object.loc/rot/size. * RNA_property_update that does this is not automatically called in every _set function, it has do be done separate, and is being done by buttons with RNA data. * Perhaps for python there could be a trick to accumulate these flags rather than update each time, though for now the python RNA code could just do them everytime. Did not add these calls in the python code yet because it needs context, not sure where to get that from? |
Commit Details:
Full Hash: fc7944f436657ce4a9a479aff3d5903b79bd6ede
SVN Revision: 18215
Parent Commit: a196143
Lines Changed: +80, -44
23 Modified Paths:
/source/blender/editors/interface/interface.c (+2, -2) (Diff)
/source/blender/editors/interface/interface_handlers.c (+10, -1) (Diff)
/source/blender/makesrna/intern/CMakeLists.txt (+1, -1) (Diff)
/source/blender/makesrna/intern/Makefile (+1, -0) (Diff)
/source/blender/makesrna/intern/makesrna.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_access.c (+9, -5) (Diff)
/source/blender/makesrna/intern/rna_controller.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_define.c (+15, -7) (Diff)
/source/blender/makesrna/intern/rna_fluidsim.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_ID.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_internal_types.h (+4, -6) (Diff)
/source/blender/makesrna/intern/rna_mesh.c (+3, -3) (Diff)
/source/blender/makesrna/intern/rna_modifier.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_object.c (+14, -3) (Diff)
/source/blender/makesrna/intern/rna_property.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_rna.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_sensor.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_sequence.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_wm.c (+1, -1) (Diff)
/source/blender/makesrna/intern/SConscript (+3, -2) (Diff)
/source/blender/makesrna/RNA_access.h (+1, -1) (Diff)
/source/blender/makesrna/RNA_define.h (+5, -2) (Diff)
/source/blender/makesrna/SConscript (+1, -0) (Diff)
/source/blender/editors/interface/interface_handlers.c (+10, -1) (Diff)
/source/blender/makesrna/intern/CMakeLists.txt (+1, -1) (Diff)
/source/blender/makesrna/intern/Makefile (+1, -0) (Diff)
/source/blender/makesrna/intern/makesrna.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_access.c (+9, -5) (Diff)
/source/blender/makesrna/intern/rna_controller.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_define.c (+15, -7) (Diff)
/source/blender/makesrna/intern/rna_fluidsim.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_ID.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_internal_types.h (+4, -6) (Diff)
/source/blender/makesrna/intern/rna_mesh.c (+3, -3) (Diff)
/source/blender/makesrna/intern/rna_modifier.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_object.c (+14, -3) (Diff)
/source/blender/makesrna/intern/rna_property.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_rna.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_sensor.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_sequence.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_wm.c (+1, -1) (Diff)
/source/blender/makesrna/intern/SConscript (+3, -2) (Diff)
/source/blender/makesrna/RNA_access.h (+1, -1) (Diff)
/source/blender/makesrna/RNA_define.h (+5, -2) (Diff)
/source/blender/makesrna/SConscript (+1, -0) (Diff)