[Bf-blender-cvs] [6d5794e6bcf] lanpr-under-gp: Fix T80126: Alembic Import dialogue has overwrite protection UI

Philipp Oeser noreply at git.blender.org
Mon Aug 31 16:23:57 CEST 2020


Commit: 6d5794e6bcf5e6dfe231c972fe7253ba391e090b
Author: Philipp Oeser
Date:   Mon Aug 31 12:35:48 2020 +0200
Branches: lanpr-under-gp
https://developer.blender.org/rB6d5794e6bcf5e6dfe231c972fe7253ba391e090b

Fix T80126: Alembic Import dialogue has overwrite protection UI

Use `FILE_OPENFILE` when importing, rather than `FILE_SAVE`.

Reviewed By: sybren

Differential Revision: https://developer.blender.org/D8715

===================================================================

M	source/blender/editors/io/io_alembic.c

===================================================================

diff --git a/source/blender/editors/io/io_alembic.c b/source/blender/editors/io/io_alembic.c
index 238ebffe153..22171d8be66 100644
--- a/source/blender/editors/io/io_alembic.c
+++ b/source/blender/editors/io/io_alembic.c
@@ -656,7 +656,7 @@ void WM_OT_alembic_import(wmOperatorType *ot)
   WM_operator_properties_filesel(ot,
                                  FILE_TYPE_FOLDER | FILE_TYPE_ALEMBIC,
                                  FILE_BLENDER,
-                                 FILE_SAVE,
+                                 FILE_OPENFILE,
                                  WM_FILESEL_FILEPATH | WM_FILESEL_RELPATH | WM_FILESEL_SHOW_PROPS,
                                  FILE_DEFAULTDISPLAY,
                                  FILE_SORT_ALPHA);



More information about the Bf-blender-cvs mailing list