[Bf-blender-cvs] [a18070367e8] usd-importer-T81257-merge: USD import: incorrect file selection action.

makowalski noreply at git.blender.org
Tue May 11 03:56:36 CEST 2021


Commit: a18070367e81e15eceec098da05cdab4860932e5
Author: makowalski
Date:   Mon May 10 21:04:55 2021 -0400
Branches: usd-importer-T81257-merge
https://developer.blender.org/rBa18070367e81e15eceec098da05cdab4860932e5

USD import: incorrect file selection action.

Changed file selection action to FILE_OPENFILE.

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

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

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

diff --git a/source/blender/editors/io/io_usd.c b/source/blender/editors/io/io_usd.c
index 67833355a19..40fb07e4ce8 100644
--- a/source/blender/editors/io/io_usd.c
+++ b/source/blender/editors/io/io_usd.c
@@ -457,7 +457,7 @@ void WM_OT_usd_import(struct wmOperatorType *ot)
   WM_operator_properties_filesel(ot,
                                  FILE_TYPE_FOLDER | FILE_TYPE_USD,
                                  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