Blender Git Loki

Git Commits -> Revision 92c9bdb

Revision 92c9bdb by Joshua Leung (master)
July 7, 2016, 13:49 (GMT)
Animation Editors: Object datablocks are now sorted alphabetically by default

A long requested feature has been to have objects appear in alphabetical order
in the animation editors, so that it is easier to find where they occur. This
commit implements support for this.

The main sticking point has been the performance impact of having this sorting
happening all the time (as the actual list of "bases" cannot be modified, as the
old depsgraph still needs random-looking unsorted order of objects for scheduling
updates). However, it recently occurred to me that perhaps by restricting it to
the one case where the ordering actually matters (i.e. when we're getting the channel
list for drawing all channels, vs operating on them), and adding a toggle to turn the
sorting off in heavy scenes when it might bog down things, that it will probably
be acceptable enough in general. Furthermore, if things get really bad, we can investigate
putting in place some sort of caching scheme for this too - though hopefully the
new depsgraph will make that unnecessary (i.e. it doesn't sort the bases directly anymore).

Commit Details:

Full Hash: 92c9bdbbb9d506e5f8a3d8877fbe018ff8a7b599
Parent Commit: 2910e28
Lines Changed: +81, -7

4 Modified Paths:

/release/scripts/startup/bl_ui/space_dopesheet.py (+1, -0) (Diff)
/source/blender/editors/animation/anim_filter.c (+71, -6) (Diff)
/source/blender/makesdna/DNA_action_types.h (+2, -1) (Diff)
/source/blender/makesrna/intern/rna_action.c (+7, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021