This commit makes it possible to select the sort mode whenever we invoke an operator.
authorThomas Beck <software@plasmasolutions.de>
Sun, 23 Aug 2015 10:40:21 +0000 (12:40 +0200)
committerThomas Beck <software@plasmasolutions.de>
Sun, 23 Aug 2015 10:40:21 +0000 (12:40 +0200)
commit83e16a4a875850cce4aa67675388963267b29e0d
treecfe0607b58e35d933177c74a1046c922e6a8bc13
parentb88d8916e44f998c4f0bc397b29b0d6ff0f011e9
This commit makes it possible to select the sort mode whenever we invoke an operator.

It's needed especially for the menu entry "recover auto save" where you'd like to have the files sorted by date most of the time but it could be useful in other places too.
There should be no functional change in other areas, I just added the missing parameter (FILE_SORT_ALPHA).

Was a request from @sebastian_k at #BCon13, so at least one guy needs it ;)

Reviewers: mont29

Reviewed By: mont29

Subscribers: sebastian_k

Differential Revision: https://developer.blender.org/D1476
22 files changed:
source/blender/editors/curve/editfont.c
source/blender/editors/io/io_collada.c
source/blender/editors/object/object_modifier.c
source/blender/editors/physics/rigidbody_world.c
source/blender/editors/render/render_shading.c
source/blender/editors/screen/screendump.c
source/blender/editors/sound/sound_ops.c
source/blender/editors/space_buttons/buttons_ops.c
source/blender/editors/space_clip/clip_ops.c
source/blender/editors/space_file/filesel.c
source/blender/editors/space_graph/graph_edit.c
source/blender/editors/space_image/image_ops.c
source/blender/editors/space_info/info_ops.c
source/blender/editors/space_node/node_add.c
source/blender/editors/space_sequencer/sequencer_add.c
source/blender/editors/space_sequencer/sequencer_edit.c
source/blender/editors/space_text/text_ops.c
source/blender/editors/space_view3d/view3d_edit.c
source/blender/makesrna/RNA_enum_types.h
source/blender/makesrna/intern/rna_space.c
source/blender/windowmanager/WM_api.h
source/blender/windowmanager/intern/wm_operators.c