UI: Open file options region for more operations
authorJulian Eisel <eiseljulian@gmail.com>
Mon, 16 Sep 2019 16:35:27 +0000 (18:35 +0200)
committerJulian Eisel <eiseljulian@gmail.com>
Mon, 16 Sep 2019 16:35:27 +0000 (18:35 +0200)
Open the file options region for image saving, linking and appending.

source/blender/editors/space_image/image_ops.c
source/blender/windowmanager/intern/wm_files_link.c

index e338a450db62e0487fbef9c4181f3f87d633c750..c2c499e3cc1fa1a335713e5a05d9c4c87bcd94a2 100644 (file)
@@ -2021,7 +2021,7 @@ void IMAGE_OT_save_as(wmOperatorType *ot)
                                  FILE_TYPE_FOLDER | FILE_TYPE_IMAGE | FILE_TYPE_MOVIE,
                                  FILE_SPECIAL,
                                  FILE_SAVE,
-                                 WM_FILESEL_FILEPATH | WM_FILESEL_RELPATH,
+                                 WM_FILESEL_FILEPATH | WM_FILESEL_RELPATH | WM_FILESEL_SHOW_PROPS,
                                  FILE_DEFAULTDISPLAY,
                                  FILE_SORT_ALPHA);
 }
index ce2319e0394e6a7c48412d19b4ea32784dfc6d73..3374d17cbfdcfe62aafe3c18bf2735ac19d39056 100644 (file)
@@ -575,7 +575,7 @@ void WM_OT_link(wmOperatorType *ot)
                                  FILE_LOADLIB,
                                  FILE_OPENFILE,
                                  WM_FILESEL_FILEPATH | WM_FILESEL_DIRECTORY | WM_FILESEL_FILENAME |
-                                     WM_FILESEL_RELPATH | WM_FILESEL_FILES,
+                                     WM_FILESEL_RELPATH | WM_FILESEL_FILES | WM_FILESEL_SHOW_PROPS,
                                  FILE_DEFAULTDISPLAY,
                                  FILE_SORT_ALPHA);
 
@@ -599,7 +599,7 @@ void WM_OT_append(wmOperatorType *ot)
                                  FILE_LOADLIB,
                                  FILE_OPENFILE,
                                  WM_FILESEL_FILEPATH | WM_FILESEL_DIRECTORY | WM_FILESEL_FILENAME |
-                                     WM_FILESEL_FILES,
+                                     WM_FILESEL_FILES | WM_FILESEL_SHOW_PROPS,
                                  FILE_DEFAULTDISPLAY,
                                  FILE_SORT_ALPHA);