Blender Git Commit Log

Git Commits -> Revision 7a10cfe

Revision 7a10cfe by Brecht Van Lommel (master)
June 13, 2018, 13:22 (GMT)
UI: preset popover buttons in panel headers.

Moves the preset into a menu for the panel header, so it can be changed
without opening the panel and takes up less space. Two remaining issues:

* For long lists the add new preset button can be scrolled off screen.
* We should support showing the name of the chosen preset in the panel
header, but the current preset system does not support detecting which
preset is used.

Differential Revision: https://developer.blender.org/D3366

Commit Details:

Full Hash: 7a10cfe7fe01bbeb7588239a9fd743ecc6af6c39
Parent Commit: 1664ccb
Lines Changed: +291, -172

2 Added Paths:

/release/datafiles/blender_icons16/icon16_preset.dat (+0, -0) (View)
/release/datafiles/blender_icons32/icon32_preset.dat (+0, -0) (View)

18 Modified Paths:

/intern/cycles/blender/addon/ui.py (+12, -19) (Diff)
/release/datafiles/blender_icons.svg (+64, -0) (Diff)
/release/scripts/modules/bpy_types.py (+31, -4) (Diff)
/release/scripts/startup/bl_operators/presets.py (+59, -37) (Diff)
/release/scripts/startup/bl_ui/properties_data_camera.py (+11, -17) (Diff)
/release/scripts/startup/bl_ui/properties_data_lamp.py (+0, -9) (Diff)
/release/scripts/startup/bl_ui/properties_particle.py (+13, -7) (Diff)
/release/scripts/startup/bl_ui/properties_physics_cloth.py (+6, -12) (Diff)
/release/scripts/startup/bl_ui/properties_physics_fluid.py (+4, -7) (Diff)
/release/scripts/startup/bl_ui/properties_render.py (+10, -11) (Diff)
/release/scripts/startup/bl_ui/properties_scene.py (+6, -7) (Diff)
/release/scripts/startup/bl_ui/space_clip.py (+14, -26) (Diff)
/release/scripts/startup/bl_ui/space_node.py (+8, -9) (Diff)
/source/blender/blenkernel/BKE_screen.h (+2, -0) (Diff)
/source/blender/editors/include/UI_icons.h (+1, -3) (Diff)
/source/blender/editors/interface/interface_region_popover.c (+9, -3) (Diff)
/source/blender/editors/screen/area.c (+15, -0) (Diff)
/source/blender/makesrna/intern/rna_ui.c (+26, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021