Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorJulian Eisel <eiseljulian@gmail.com>2017-02-27 00:32:43 +0300
committerJulian Eisel <eiseljulian@gmail.com>2017-02-27 00:34:58 +0300
commitaff8ce438a1f856f44e92319063950d7fc500c24 (patch)
tree478699a6b4734fb002409f1c8c5da44ca4b782d6 /source
parent16b2005bfbb7a047ca815ddd4cb47e718f1a8beb (diff)
Outliner: Don't use alphabetical sorting for collections
Order of collections matters, so sorting the outliner entries to be alphabetical is misleading.
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/space_outliner/outliner_ops.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/source/blender/editors/space_outliner/outliner_ops.c b/source/blender/editors/space_outliner/outliner_ops.c
index d94ccde57e5..d63eab5e076 100644
--- a/source/blender/editors/space_outliner/outliner_ops.c
+++ b/source/blender/editors/space_outliner/outliner_ops.c
@@ -61,9 +61,8 @@ static int outliner_item_drag_drop_poll(bContext *C)
{
SpaceOops *soops = CTX_wm_space_outliner(C);
return ED_operator_outliner_active(C) &&
- (soops->flag & SO_SKIP_SORT_ALPHA) &&
- /* Only collection display mode supported for now. Others need more design work */
- ELEM(soops->outlinevis, SO_COLLECTIONS);
+ /* Only collection display mode supported for now. Others need more design work */
+ ELEM(soops->outlinevis, SO_COLLECTIONS);
}
static TreeElement *outliner_item_drag_element_find(SpaceOops *soops, ARegion *ar, const wmEvent *event)