Commit: c39128ca97bf0f13209f019d7e38ecafc9791bde
Author: Ankit Meel
Date:   Sun Jun 28 02:46:20 2020 +0530
Branches: soc-2020-io-performance
https://developer.blender.org/rBc39128ca97bf0f13209f019d7e38ecafc9791bde

UI: show warning when overwriting an export file

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

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

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

diff --git a/source/blender/editors/io/io_obj.c 
b/source/blender/editors/io/io_obj.c
index eae0ed83412..dab03be5750 100644
--- a/source/blender/editors/io/io_obj.c
+++ b/source/blender/editors/io/io_obj.c
@@ -232,7 +232,7 @@ void WM_OT_obj_export(struct wmOperatorType *ot)
   WM_operator_properties_filesel(ot,
                                  FILE_TYPE_FOLDER | FILE_TYPE_OBJECT_IO,
                                  FILE_BLENDER,
-                                 FILE_OPENFILE,
+                                 FILE_SAVE,
                                  WM_FILESEL_FILEPATH | WM_FILESEL_SHOW_PROPS,
                                  FILE_DEFAULTDISPLAY,
                                  FILE_SORT_ALPHA);

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to