Blender Git Loki
Git Commits -> Revision 440d104
Revision 440d104 by Bastien Montagne (master) December 12, 2016, 14:46 (GMT) |
Refactor RNA property: split flags in property flags, parameter flags, and internal flags. This gives us 9 flags available again for properties (we had none anymore), and also makes things slightly cleaner. To simplify (and make more clear the differences between mere properties and function parameters), also added RNA_def_parameter_flags function (and its clear counterpart), to be used instead of RNA_def_property_flag for function parameters. This patch is also a big cleanup (some RNA function definitions were still using 'prop' PropertyRNA pointer, etc.). And yes, am aware this will be annoying for all branches, but we really need to get new flags available for properties (will need at least one for override, etc.). Reviewers: sergey, Severin Subscribers: dfelinto, brecht Differential Revision: https://developer.blender.org/D2400 |
Commit Details:
Full Hash: 440d1042798113a0e8115ea1f1d016a44712e7a0
Parent Commit: 6270385
Lines Changed: +1049, -987
60 Modified Paths:
/source/blender/makesrna/intern/makesrna.c (+42, -32) (Diff)
/source/blender/makesrna/intern/rna_access.c (+27, -14) (Diff)
/source/blender/makesrna/intern/rna_action.c (+10, -12) (Diff)
/source/blender/makesrna/intern/rna_actuator_api.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_animation.c (+13, -13) (Diff)
/source/blender/makesrna/intern/rna_armature.c (+9, -8) (Diff)
/source/blender/makesrna/intern/rna_armature_api.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_color.c (+15, -13) (Diff)
/source/blender/makesrna/intern/rna_curve.c (+7, -7) (Diff)
/source/blender/makesrna/intern/rna_curve_api.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_define.c (+28, -15) (Diff)
/source/blender/makesrna/intern/rna_depsgraph.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_dynamicpaint.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_fcurve.c (+14, -15) (Diff)
/source/blender/makesrna/intern/rna_fcurve_api.c (+4, -4) (Diff)
/source/blender/makesrna/intern/rna_gpencil.c (+14, -14) (Diff)
/source/blender/makesrna/intern/rna_group.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_ID.c (+4, -4) (Diff)
/source/blender/makesrna/intern/rna_image_api.c (+4, -5) (Diff)
/source/blender/makesrna/intern/rna_internal_types.h (+16, -3) (Diff)
/source/blender/makesrna/intern/rna_key.c (+3, -3) (Diff)
/source/blender/makesrna/intern/rna_lattice_api.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_linestyle.c (+16, -16) (Diff)
/source/blender/makesrna/intern/rna_main_api.c (+144, -134) (Diff)
/source/blender/makesrna/intern/rna_mask.c (+6, -6) (Diff)
/source/blender/makesrna/intern/rna_material.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_mesh.c (+12, -13) (Diff)
/source/blender/makesrna/intern/rna_mesh_api.c (+5, -5) (Diff)
/source/blender/makesrna/intern/rna_meta.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_meta_api.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_nla.c (+6, -6) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+86, -84) (Diff)
/source/blender/makesrna/intern/rna_object.c (+22, -21) (Diff)
/source/blender/makesrna/intern/rna_object_api.c (+26, -26) (Diff)
/source/blender/makesrna/intern/rna_palette.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_particle.c (+50, -48) (Diff)
/source/blender/makesrna/intern/rna_pose.c (+5, -5) (Diff)
/source/blender/makesrna/intern/rna_pose_api.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_render.c (+101, -96) (Diff)
/source/blender/makesrna/intern/rna_rigidbody.c (+20, -24) (Diff)
/source/blender/makesrna/intern/rna_rna.c (+7, -7) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+21, -22) (Diff)
/source/blender/makesrna/intern/rna_scene_api.c (+32, -36) (Diff)
/source/blender/makesrna/intern/rna_screen.c (+6, -6) (Diff)
/source/blender/makesrna/intern/rna_sensor_api.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_sequencer.c (+4, -4) (Diff)
/source/blender/makesrna/intern/rna_sequencer_api.c (+34, -34) (Diff)
/source/blender/makesrna/intern/rna_space.c (+5, -5) (Diff)
/source/blender/makesrna/intern/rna_space_api.c (+4, -4) (Diff)
/source/blender/makesrna/intern/rna_texture_api.c (+3, -3) (Diff)
/source/blender/makesrna/intern/rna_text_api.c (+3, -3) (Diff)
/source/blender/makesrna/intern/rna_tracking.c (+11, -11) (Diff)
/source/blender/makesrna/intern/rna_ui.c (+22, -22) (Diff)
/source/blender/makesrna/intern/rna_ui_api.c (+62, -62) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+4, -4) (Diff)
/source/blender/makesrna/intern/rna_wm_api.c (+53, -53) (Diff)
/source/blender/makesrna/RNA_access.h (+3, -0) (Diff)
/source/blender/makesrna/RNA_define.h (+5, -2) (Diff)
/source/blender/makesrna/RNA_types.h (+23, -24) (Diff)
/source/blender/python/intern/bpy_rna.c (+16, -17) (Diff)
/source/blender/makesrna/intern/rna_access.c (+27, -14) (Diff)
/source/blender/makesrna/intern/rna_action.c (+10, -12) (Diff)
/source/blender/makesrna/intern/rna_actuator_api.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_animation.c (+13, -13) (Diff)
/source/blender/makesrna/intern/rna_armature.c (+9, -8) (Diff)
/source/blender/makesrna/intern/rna_armature_api.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_color.c (+15, -13) (Diff)
/source/blender/makesrna/intern/rna_curve.c (+7, -7) (Diff)
/source/blender/makesrna/intern/rna_curve_api.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_define.c (+28, -15) (Diff)
/source/blender/makesrna/intern/rna_depsgraph.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_dynamicpaint.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_fcurve.c (+14, -15) (Diff)
/source/blender/makesrna/intern/rna_fcurve_api.c (+4, -4) (Diff)
/source/blender/makesrna/intern/rna_gpencil.c (+14, -14) (Diff)
/source/blender/makesrna/intern/rna_group.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_ID.c (+4, -4) (Diff)
/source/blender/makesrna/intern/rna_image_api.c (+4, -5) (Diff)
/source/blender/makesrna/intern/rna_internal_types.h (+16, -3) (Diff)
/source/blender/makesrna/intern/rna_key.c (+3, -3) (Diff)
/source/blender/makesrna/intern/rna_lattice_api.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_linestyle.c (+16, -16) (Diff)
/source/blender/makesrna/intern/rna_main_api.c (+144, -134) (Diff)
/source/blender/makesrna/intern/rna_mask.c (+6, -6) (Diff)
/source/blender/makesrna/intern/rna_material.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_mesh.c (+12, -13) (Diff)
/source/blender/makesrna/intern/rna_mesh_api.c (+5, -5) (Diff)
/source/blender/makesrna/intern/rna_meta.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_meta_api.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_nla.c (+6, -6) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+86, -84) (Diff)
/source/blender/makesrna/intern/rna_object.c (+22, -21) (Diff)
/source/blender/makesrna/intern/rna_object_api.c (+26, -26) (Diff)
/source/blender/makesrna/intern/rna_palette.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_particle.c (+50, -48) (Diff)
/source/blender/makesrna/intern/rna_pose.c (+5, -5) (Diff)
/source/blender/makesrna/intern/rna_pose_api.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_render.c (+101, -96) (Diff)
/source/blender/makesrna/intern/rna_rigidbody.c (+20, -24) (Diff)
/source/blender/makesrna/intern/rna_rna.c (+7, -7) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+21, -22) (Diff)
/source/blender/makesrna/intern/rna_scene_api.c (+32, -36) (Diff)
/source/blender/makesrna/intern/rna_screen.c (+6, -6) (Diff)
/source/blender/makesrna/intern/rna_sensor_api.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_sequencer.c (+4, -4) (Diff)
/source/blender/makesrna/intern/rna_sequencer_api.c (+34, -34) (Diff)
/source/blender/makesrna/intern/rna_space.c (+5, -5) (Diff)
/source/blender/makesrna/intern/rna_space_api.c (+4, -4) (Diff)
/source/blender/makesrna/intern/rna_texture_api.c (+3, -3) (Diff)
/source/blender/makesrna/intern/rna_text_api.c (+3, -3) (Diff)
/source/blender/makesrna/intern/rna_tracking.c (+11, -11) (Diff)
/source/blender/makesrna/intern/rna_ui.c (+22, -22) (Diff)
/source/blender/makesrna/intern/rna_ui_api.c (+62, -62) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+4, -4) (Diff)
/source/blender/makesrna/intern/rna_wm_api.c (+53, -53) (Diff)
/source/blender/makesrna/RNA_access.h (+3, -0) (Diff)
/source/blender/makesrna/RNA_define.h (+5, -2) (Diff)
/source/blender/makesrna/RNA_types.h (+23, -24) (Diff)
/source/blender/python/intern/bpy_rna.c (+16, -17) (Diff)