diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2021-03-08 17:49:16 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2021-03-08 17:49:16 +0300 |
commit | d230c9b96c516e718014fb50914fcada1a7ec98f (patch) | |
tree | de676c9091df272c87a643f9881651095b6656fc | |
parent | 5a67407d5aa8800faf78f40811b703d07e8f7300 (diff) |
Alembic: avoid red overwrite warning when opening a file
Pass `FILE_OPENFILE` instead of `FILE_SAVE` when selecting a file for
reading.
-rw-r--r-- | source/blender/editors/io/io_cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/io/io_cache.c b/source/blender/editors/io/io_cache.c index 1e66a86c8fd..ea6606ed066 100644 --- a/source/blender/editors/io/io_cache.c +++ b/source/blender/editors/io/io_cache.c @@ -130,7 +130,7 @@ void CACHEFILE_OT_open(wmOperatorType *ot) WM_operator_properties_filesel(ot, FILE_TYPE_ALEMBIC | FILE_TYPE_FOLDER, FILE_BLENDER, - FILE_SAVE, + FILE_OPENFILE, WM_FILESEL_FILEPATH, FILE_DEFAULTDISPLAY, FILE_SORT_DEFAULT); |