Blender Git Loki
Git Commits -> Revision c1cf33c
Revision c1cf33c by Brecht Van Lommel (master) January 16, 2009, 23:53 (GMT) |
RNA * Added more compact property definitions, with a single function. Only used by operators at the moment, would need to tweak regular expressions a bit more to use it also for other RNA definitions. * The operator properties defined now were completed a bit more but still have many issues that need to be adressed, specifically; * Some properties that should be booleans or enums are defined as ints, note that ints are only for numeric values, not bitflags or multiple choice. * Soft/hard limits and default values of many properties are not well defined still, * Inconsistent naming, especially for example mouse locations or bounds are named differently in different places. Also mouse locations and other vector like properties should become a single vector property instead of multiple X/Y properties. * Almost no properties have descriptions, these would be good to have for docs and tooltips. So, please verify that the properties of the operators you wrote are well defined. |
Commit Details:
Full Hash: c1cf33c8aa1d9fd5f8d36231f4a28da63ce0e5e0
SVN Revision: 18542
Parent Commit: ef93f8a
Lines Changed: +535, -496
22 Modified Paths:
/source/blender/editors/animation/anim_channels.c (+19, -50) (Diff)
/source/blender/editors/animation/anim_markers.c (+15, -18) (Diff)
/source/blender/editors/animation/anim_ops.c (+5, -7) (Diff)
/source/blender/editors/interface/view2d_ops.c (+21, -23) (Diff)
/source/blender/editors/mesh/editmesh_add.c (+41, -77) (Diff)
/source/blender/editors/mesh/editmesh_mods.c (+8, -8) (Diff)
/source/blender/editors/mesh/editmesh_tools.c (+9, -11) (Diff)
/source/blender/editors/object/object_edit.c (+13, -51) (Diff)
/source/blender/editors/screen/screen_ops.c (+30, -51) (Diff)
/source/blender/editors/sculpt/sculpt.c (+6, -15) (Diff)
/source/blender/editors/space_action/action_edit.c (+6, -24) (Diff)
/source/blender/editors/space_action/action_select.c (+11, -17) (Diff)
/source/blender/editors/space_image/image_ops.c (+6, -13) (Diff)
/source/blender/editors/space_node/node_select.c (+21, -30) (Diff)
/source/blender/editors/space_node/node_state.c (+7, -9) (Diff)
/source/blender/editors/space_script/script_edit.c (+2, -2) (Diff)
/source/blender/editors/space_view3d/view3d_edit.c (+21, -31) (Diff)
/source/blender/editors/space_view3d/view3d_select.c (+15, -28) (Diff)
/source/blender/editors/transform/transform_ops.c (+6, -11) (Diff)
/source/blender/editors/uvedit/uvedit_ops.c (+4, -19) (Diff)
/source/blender/makesrna/intern/rna_define.c (+224, -0) (Diff)
/source/blender/makesrna/RNA_define.h (+45, -1) (Diff)
/source/blender/editors/animation/anim_markers.c (+15, -18) (Diff)
/source/blender/editors/animation/anim_ops.c (+5, -7) (Diff)
/source/blender/editors/interface/view2d_ops.c (+21, -23) (Diff)
/source/blender/editors/mesh/editmesh_add.c (+41, -77) (Diff)
/source/blender/editors/mesh/editmesh_mods.c (+8, -8) (Diff)
/source/blender/editors/mesh/editmesh_tools.c (+9, -11) (Diff)
/source/blender/editors/object/object_edit.c (+13, -51) (Diff)
/source/blender/editors/screen/screen_ops.c (+30, -51) (Diff)
/source/blender/editors/sculpt/sculpt.c (+6, -15) (Diff)
/source/blender/editors/space_action/action_edit.c (+6, -24) (Diff)
/source/blender/editors/space_action/action_select.c (+11, -17) (Diff)
/source/blender/editors/space_image/image_ops.c (+6, -13) (Diff)
/source/blender/editors/space_node/node_select.c (+21, -30) (Diff)
/source/blender/editors/space_node/node_state.c (+7, -9) (Diff)
/source/blender/editors/space_script/script_edit.c (+2, -2) (Diff)
/source/blender/editors/space_view3d/view3d_edit.c (+21, -31) (Diff)
/source/blender/editors/space_view3d/view3d_select.c (+15, -28) (Diff)
/source/blender/editors/transform/transform_ops.c (+6, -11) (Diff)
/source/blender/editors/uvedit/uvedit_ops.c (+4, -19) (Diff)
/source/blender/makesrna/intern/rna_define.c (+224, -0) (Diff)
/source/blender/makesrna/RNA_define.h (+45, -1) (Diff)