blender/release/scripts
Bastien Montagne 113997a03c Last uiList patch (for now!): filtering and reordering of shown elements.
Thanks to Brecht for the reviews. :)

This commit adds a show/hide extension below each uiList, containing by default an option to filter and/or reorder items by name (and to reverse those filtering and reordering).

Each derived uiList class in Python can define more specific filtering by implementing callbacks: the draw_filter() function to draw options in UI, and the filter_items() function to effectively filter/reorder items.

Note: the advanced options for vgroups shown as "proof od concept" in patches do not go in trunk for now, we have to find a better way to get those vgroups info for UI code, we can't afford to loop over each vertex here!

And doc (release notes and uiList example) is still to be updated, will do this in next days.
2013-08-29 12:55:31 +00:00
..
freestyle style cleanup: pep8, also use float literals when comparing floats and pass tuples to mathutils.Vector() rather then list. 2013-08-21 23:19:01 +00:00
modules Fix for #36387, User Preferences "Addons" panel bogs down the whole interface. 2013-08-28 06:36:54 +00:00
presets Cycles / Sampling UI: 2013-08-22 19:57:56 +00:00
startup Last uiList patch (for now!): filtering and reordering of shown elements. 2013-08-29 12:55:31 +00:00
templates_osl Cycles / Toon BSDF: 2013-05-23 17:45:20 +00:00
templates_py use 'with' keyword for script stub (recommended with py3). 2013-08-17 05:27:58 +00:00