Blender Git Loki
Git Commits -> Revision 22bb90d
Revision 22bb90d by Jorge Rodriguez (soc-2012-bratwurst) July 17, 2012, 03:05 (GMT) |
Added a "clear" function for bit-field boolean RNA properties, used by a "clearfield" parameter for the "prop" command. This allows python scripts to create buttons which clear the entire bitfield before setting a value, thus enabling mutually exclusive buttons where only one can be toggled at a time. This behavior can be overridden if shift is held down by the user. All of this is used by the TRS floating buttons so that clicking one clears the others. |
Commit Details:
Full Hash: 22bb90d57d9c97f8b4028e99960f8a22fd03ba40
SVN Revision: 48990
Parent Commit: b14202c
Lines Changed: +244, -155
44 Modified Paths:
/release/scripts/startup/bl_ui/space_view3d.py (+6, -6) (Diff)
/source/blender/editors/include/UI_interface.h (+2, -1) (Diff)
/source/blender/editors/interface/interface.c (+11, -0) (Diff)
/source/blender/editors/interface/interface_layout.c (+4, -1) (Diff)
/source/blender/makesrna/intern/makesrna.c (+58, -1) (Diff)
/source/blender/makesrna/intern/rna_access.c (+11, -0) (Diff)
/source/blender/makesrna/intern/rna_actuator.c (+4, -4) (Diff)
/source/blender/makesrna/intern/rna_armature.c (+4, -4) (Diff)
/source/blender/makesrna/intern/rna_brush.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_color.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_define.c (+2, -1) (Diff)
/source/blender/makesrna/intern/rna_dynamicpaint.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_fcurve.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_ID.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_image.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_internal_types.h (+2, -0) (Diff)
/source/blender/makesrna/intern/rna_lamp.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_lattice.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_main.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_main_api.c (+26, -26) (Diff)
/source/blender/makesrna/intern/rna_material.c (+3, -3) (Diff)
/source/blender/makesrna/intern/rna_mesh.c (+10, -10) (Diff)
/source/blender/makesrna/intern/rna_modifier.c (+3, -3) (Diff)
/source/blender/makesrna/intern/rna_nla.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_object.c (+4, -4) (Diff)
/source/blender/makesrna/intern/rna_object_force.c (+6, -6) (Diff)
/source/blender/makesrna/intern/rna_particle.c (+4, -4) (Diff)
/source/blender/makesrna/intern/rna_pose.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_rna.c (+17, -17) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+15, -15) (Diff)
/source/blender/makesrna/intern/rna_screen.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_sculpt_paint.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_sensor.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_sequencer.c (+5, -5) (Diff)
/source/blender/makesrna/intern/rna_sound.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_space.c (+10, -10) (Diff)
/source/blender/makesrna/intern/rna_text.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_texture.c (+3, -3) (Diff)
/source/blender/makesrna/intern/rna_tracking.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_ui.c (+3, -3) (Diff)
/source/blender/makesrna/intern/rna_ui_api.c (+3, -1) (Diff)
/source/blender/makesrna/intern/rna_wm.c (+3, -3) (Diff)
/source/blender/makesrna/RNA_access.h (+1, -0) (Diff)
/source/blender/makesrna/RNA_define.h (+1, -1) (Diff)
/source/blender/editors/include/UI_interface.h (+2, -1) (Diff)
/source/blender/editors/interface/interface.c (+11, -0) (Diff)
/source/blender/editors/interface/interface_layout.c (+4, -1) (Diff)
/source/blender/makesrna/intern/makesrna.c (+58, -1) (Diff)
/source/blender/makesrna/intern/rna_access.c (+11, -0) (Diff)
/source/blender/makesrna/intern/rna_actuator.c (+4, -4) (Diff)
/source/blender/makesrna/intern/rna_armature.c (+4, -4) (Diff)
/source/blender/makesrna/intern/rna_brush.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_color.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_define.c (+2, -1) (Diff)
/source/blender/makesrna/intern/rna_dynamicpaint.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_fcurve.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_ID.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_image.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_internal_types.h (+2, -0) (Diff)
/source/blender/makesrna/intern/rna_lamp.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_lattice.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_main.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_main_api.c (+26, -26) (Diff)
/source/blender/makesrna/intern/rna_material.c (+3, -3) (Diff)
/source/blender/makesrna/intern/rna_mesh.c (+10, -10) (Diff)
/source/blender/makesrna/intern/rna_modifier.c (+3, -3) (Diff)
/source/blender/makesrna/intern/rna_nla.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_object.c (+4, -4) (Diff)
/source/blender/makesrna/intern/rna_object_force.c (+6, -6) (Diff)
/source/blender/makesrna/intern/rna_particle.c (+4, -4) (Diff)
/source/blender/makesrna/intern/rna_pose.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_rna.c (+17, -17) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+15, -15) (Diff)
/source/blender/makesrna/intern/rna_screen.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_sculpt_paint.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_sensor.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_sequencer.c (+5, -5) (Diff)
/source/blender/makesrna/intern/rna_sound.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_space.c (+10, -10) (Diff)
/source/blender/makesrna/intern/rna_text.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_texture.c (+3, -3) (Diff)
/source/blender/makesrna/intern/rna_tracking.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_ui.c (+3, -3) (Diff)
/source/blender/makesrna/intern/rna_ui_api.c (+3, -1) (Diff)
/source/blender/makesrna/intern/rna_wm.c (+3, -3) (Diff)
/source/blender/makesrna/RNA_access.h (+1, -0) (Diff)
/source/blender/makesrna/RNA_define.h (+1, -1) (Diff)