Blender Git Loki
Git Commits -> Revision 0790471
Revision 0790471 by Brecht Van Lommel (master) December 8, 2009, 17:23 (GMT) |
RNA: * Property update functions no longer get context, instead they get only Main and Scene. The RNA api was intended to be as context-less as possible, since it doesn't really matter who is changing the property, everything that uses the property should be updated. * There's still one exception case that use it now, screen operations still depend on context too much. It also revealed a few places using context where they shouldn't. * Ideally Scene shouldn't be passed, but much of Blender still depends on it, should be dropped when we try to support multiple scene editing. Change was planned for a while, but need this now to be able to call update without a context pointer. |
Commit Details:
Full Hash: 07904712e8943b5845df9559093018c8473f72f3
SVN Revision: 25217
Parent Commit: ee74e72
Lines Changed: +318, -318
49 Modified Paths:
/source/blender/editors/include/ED_screen.h (+1, -1) (Diff)
/source/blender/editors/screen/screen_edit.c (+1, -3) (Diff)
/source/blender/editors/screen/screen_ops.c (+1, -1) (Diff)
/source/blender/makesrna/intern/makesrna.c (+3, -1) (Diff)
/source/blender/makesrna/intern/rna_access.c (+25, -5) (Diff)
/source/blender/makesrna/intern/rna_armature.c (+7, -7) (Diff)
/source/blender/makesrna/intern/rna_boid.c (+4, -6) (Diff)
/source/blender/makesrna/intern/rna_brush.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_camera.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_cloth.c (+4, -4) (Diff)
/source/blender/makesrna/intern/rna_constraint.c (+5, -5) (Diff)
/source/blender/makesrna/intern/rna_curve.c (+15, -15) (Diff)
/source/blender/makesrna/intern/rna_fcurve.c (+8, -8) (Diff)
/source/blender/makesrna/intern/rna_fluidsim.c (+4, -5) (Diff)
/source/blender/makesrna/intern/rna_group.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_image.c (+6, -7) (Diff)
/source/blender/makesrna/intern/rna_internal.h (+4, -4) (Diff)
/source/blender/makesrna/intern/rna_internal_types.h (+4, -1) (Diff)
/source/blender/makesrna/intern/rna_key.c (+2, -3) (Diff)
/source/blender/makesrna/intern/rna_lamp.c (+6, -6) (Diff)
/source/blender/makesrna/intern/rna_lattice.c (+4, -5) (Diff)
/source/blender/makesrna/intern/rna_main_api.c (+14, -14) (Diff)
/source/blender/makesrna/intern/rna_material.c (+4, -4) (Diff)
/source/blender/makesrna/intern/rna_mesh.c (+6, -6) (Diff)
/source/blender/makesrna/intern/rna_meta.c (+2, -6) (Diff)
/source/blender/makesrna/intern/rna_modifier.c (+7, -7) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+13, -14) (Diff)
/source/blender/makesrna/intern/rna_object.c (+20, -23) (Diff)
/source/blender/makesrna/intern/rna_object_force.c (+24, -31) (Diff)
/source/blender/makesrna/intern/rna_particle.c (+24, -27) (Diff)
/source/blender/makesrna/intern/rna_pose.c (+8, -9) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+4, -5) (Diff)
/source/blender/makesrna/intern/rna_scene_api.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_screen.c (+5, -7) (Diff)
/source/blender/makesrna/intern/rna_sculpt_paint.c (+7, -5) (Diff)
/source/blender/makesrna/intern/rna_sequence.c (+3, -5) (Diff)
/source/blender/makesrna/intern/rna_smoke.c (+8, -8) (Diff)
/source/blender/makesrna/intern/rna_sound.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_space.c (+12, -13) (Diff)
/source/blender/makesrna/intern/rna_texture.c (+9, -9) (Diff)
/source/blender/makesrna/intern/rna_ui.c (+6, -6) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+15, -13) (Diff)
/source/blender/makesrna/intern/rna_wm.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_world.c (+4, -4) (Diff)
/source/blender/makesrna/RNA_access.h (+2, -0) (Diff)
/source/blender/makesrna/RNA_types.h (+3, -0) (Diff)
/source/blender/windowmanager/intern/wm.c (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm_files.c (+1, -2) (Diff)
/source/blender/windowmanager/WM_api.h (+1, -1) (Diff)
/source/blender/editors/screen/screen_edit.c (+1, -3) (Diff)
/source/blender/editors/screen/screen_ops.c (+1, -1) (Diff)
/source/blender/makesrna/intern/makesrna.c (+3, -1) (Diff)
/source/blender/makesrna/intern/rna_access.c (+25, -5) (Diff)
/source/blender/makesrna/intern/rna_armature.c (+7, -7) (Diff)
/source/blender/makesrna/intern/rna_boid.c (+4, -6) (Diff)
/source/blender/makesrna/intern/rna_brush.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_camera.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_cloth.c (+4, -4) (Diff)
/source/blender/makesrna/intern/rna_constraint.c (+5, -5) (Diff)
/source/blender/makesrna/intern/rna_curve.c (+15, -15) (Diff)
/source/blender/makesrna/intern/rna_fcurve.c (+8, -8) (Diff)
/source/blender/makesrna/intern/rna_fluidsim.c (+4, -5) (Diff)
/source/blender/makesrna/intern/rna_group.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_image.c (+6, -7) (Diff)
/source/blender/makesrna/intern/rna_internal.h (+4, -4) (Diff)
/source/blender/makesrna/intern/rna_internal_types.h (+4, -1) (Diff)
/source/blender/makesrna/intern/rna_key.c (+2, -3) (Diff)
/source/blender/makesrna/intern/rna_lamp.c (+6, -6) (Diff)
/source/blender/makesrna/intern/rna_lattice.c (+4, -5) (Diff)
/source/blender/makesrna/intern/rna_main_api.c (+14, -14) (Diff)
/source/blender/makesrna/intern/rna_material.c (+4, -4) (Diff)
/source/blender/makesrna/intern/rna_mesh.c (+6, -6) (Diff)
/source/blender/makesrna/intern/rna_meta.c (+2, -6) (Diff)
/source/blender/makesrna/intern/rna_modifier.c (+7, -7) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+13, -14) (Diff)
/source/blender/makesrna/intern/rna_object.c (+20, -23) (Diff)
/source/blender/makesrna/intern/rna_object_force.c (+24, -31) (Diff)
/source/blender/makesrna/intern/rna_particle.c (+24, -27) (Diff)
/source/blender/makesrna/intern/rna_pose.c (+8, -9) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+4, -5) (Diff)
/source/blender/makesrna/intern/rna_scene_api.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_screen.c (+5, -7) (Diff)
/source/blender/makesrna/intern/rna_sculpt_paint.c (+7, -5) (Diff)
/source/blender/makesrna/intern/rna_sequence.c (+3, -5) (Diff)
/source/blender/makesrna/intern/rna_smoke.c (+8, -8) (Diff)
/source/blender/makesrna/intern/rna_sound.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_space.c (+12, -13) (Diff)
/source/blender/makesrna/intern/rna_texture.c (+9, -9) (Diff)
/source/blender/makesrna/intern/rna_ui.c (+6, -6) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+15, -13) (Diff)
/source/blender/makesrna/intern/rna_wm.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_world.c (+4, -4) (Diff)
/source/blender/makesrna/RNA_access.h (+2, -0) (Diff)
/source/blender/makesrna/RNA_types.h (+3, -0) (Diff)
/source/blender/windowmanager/intern/wm.c (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm_files.c (+1, -2) (Diff)
/source/blender/windowmanager/WM_api.h (+1, -1) (Diff)