Add manual object sorting, and sort object by type along side
alphabetical sort that already existed.
Also sort collections alphabetically.
Small cleanups for collection sort.
Differential D8646
Outliner: Manual object sorting Authored by Nathan Craddock (natecraddock) on Aug 20 2020, 12:12 AM.
Details
Add manual object sorting, and sort object by type along side Also sort collections alphabetically. Small cleanups for collection sort.
Diff Detail
Event TimelineComment Actions This worked well in my simple tests. A few smaller things to address but overall this seems fine. Two warnings: blender/software/dev/default/src/source/blender/editors/space_outliner/outliner_tree.c:1808:13: warning: ‘outliner_collections_children_sort’ defined but not used [-Wunused-function]
1808 | static void outliner_collections_children_sort(ListBase *lb)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
blender/software/dev/default/src/source/blender/editors/space_outliner/outliner_tree.c:1722:12: warning: ‘treesort_alpha_ob’ defined but not used [-Wunused-function]
1722 | static int treesort_alpha_ob(const void *v1, const void *v2)
| ^~~~~~~~~~~~~~~~~
Comment Actions I'm not sure I'd be happy with adding everything here in 2.91. It works well, but it is incomplete in two ways:
I didn't prioritize those behaviors as much during the summer, and got involved in other features The collection sorting is nice though, and the manual object sorting is useful though incomplete. I'm curious on your thoughts. If you think the mostly working behavior is okay then I'm happy to include it. Otherwise, I would rather make custom object sorting more feature complete and focus more on something like D8638: Outliner: Add properties editor sync on selection for the near future. Also, working through all the other patches & homework drained me today, so I'll finish this one up tomorrow :) Comment Actions
Comment Actions @Zachman think this one should be closed? Don't see a reason to keep it open, since we put it on hold. | |||||||||||||||||||||||||||||||||