Blender Git Commit Log
Git Commits -> Revision cf9b728
January 7, 2010, 09:55 (GMT) |
Color Picker work: Restored the old Eyedropper tool from the 2.4 colour picker. Now it's an operator, working nicely using rna properties (fixes #19475 and some todo items) This ended up being a bit more work than expected, it involved converting the colour picker to use RNA properties directly, rather than temporary values. This has several advantages, including being able to type in RGB values greater than 1, however there are still some redraw issues with sliders. Also removed the alternate color pickers after this time spent testing, the current one should be sufficient, or alternatives to the wheel can possibly become preferences in the current design. Converting the picker to RNA also made it very trivial to make a cool new ColorWheel template, which can be embedded in UI layouts. I've enabled it already in texture/vertex paint brush properties and the sequence editor color correction: http://mke3.net/blender/devel/2.5/colorwheels.jpg |
Commit Details:
Full Hash: cf9b728c6a1cb600c721bea1823206047ab1c5c7
SVN Revision: 25792
Parent Commit: 4463597
Lines Changed: +356, -523
14 Modified Paths:
/release/scripts/ui/space_image.py (+1, -0) (Diff)
/release/scripts/ui/space_sequencer.py (+6, -3) (Diff)
/release/scripts/ui/space_view3d_toolbar.py (+2, -0) (Diff)
/source/blender/editors/include/UI_interface.h (+1, -1) (Diff)
/source/blender/editors/interface/interface.c (+0, -2) (Diff)
/source/blender/editors/interface/interface_anim.c (+1, -1) (Diff)
/source/blender/editors/interface/interface_handlers.c (+24, -23) (Diff)
/source/blender/editors/interface/interface_intern.h (+0, -1) (Diff)
/source/blender/editors/interface/interface_layout.c (+1, -1) (Diff)
/source/blender/editors/interface/interface_ops.c (+174, -0) (Diff)
/source/blender/editors/interface/interface_regions.c (+95, -460) (Diff)
/source/blender/editors/interface/interface_templates.c (+28, -17) (Diff)
/source/blender/editors/interface/interface_widgets.c (+19, -14) (Diff)
/source/blender/makesrna/intern/rna_ui_api.c (+4, -0) (Diff)
/release/scripts/ui/space_sequencer.py (+6, -3) (Diff)
/release/scripts/ui/space_view3d_toolbar.py (+2, -0) (Diff)
/source/blender/editors/include/UI_interface.h (+1, -1) (Diff)
/source/blender/editors/interface/interface.c (+0, -2) (Diff)
/source/blender/editors/interface/interface_anim.c (+1, -1) (Diff)
/source/blender/editors/interface/interface_handlers.c (+24, -23) (Diff)
/source/blender/editors/interface/interface_intern.h (+0, -1) (Diff)
/source/blender/editors/interface/interface_layout.c (+1, -1) (Diff)
/source/blender/editors/interface/interface_ops.c (+174, -0) (Diff)
/source/blender/editors/interface/interface_regions.c (+95, -460) (Diff)
/source/blender/editors/interface/interface_templates.c (+28, -17) (Diff)
/source/blender/editors/interface/interface_widgets.c (+19, -14) (Diff)
/source/blender/makesrna/intern/rna_ui_api.c (+4, -0) (Diff)