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:
authorSybren A. Stüvel <sybren@blender.org>2021-03-08 17:49:16 +0300
committerSybren A. Stüvel <sybren@blender.org>2021-03-08 17:49:16 +0300
commitd230c9b96c516e718014fb50914fcada1a7ec98f (patch)
treede676c9091df272c87a643f9881651095b6656fc /source
parent5a67407d5aa8800faf78f40811b703d07e8f7300 (diff)
Alembic: avoid red overwrite warning when opening a file
Pass `FILE_OPENFILE` instead of `FILE_SAVE` when selecting a file for reading.
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/io/io_cache.c2
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);