[Bf-blender-cvs] [a601f54ba2a] master: USD Exporter: show export options by default

Sybren A. Stüvel noreply at git.blender.org
Tue Dec 17 17:00:40 CET 2019


Commit: a601f54ba2a5b5f18e46c8c2dbc46dabb68973c9
Author: Sybren A. Stüvel
Date:   Tue Dec 17 15:59:56 2019 +0100
Branches: master
https://developer.blender.org/rBa601f54ba2a5b5f18e46c8c2dbc46dabb68973c9

USD Exporter: show export options by default

There are options for the exporter that are relevant for each export, for
example the choice between Viewport or Render settings, or whether to
export the current frame or an animation. It's better to have the options
panel opened by default.

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

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 524d8d50b7b..2818b134509 100644
--- a/source/blender/editors/io/io_usd.c
+++ b/source/blender/editors/io/io_usd.c
@@ -176,7 +176,7 @@ void WM_OT_usd_export(struct wmOperatorType *ot)
                                  FILE_TYPE_FOLDER | FILE_TYPE_USD,
                                  FILE_BLENDER,
                                  FILE_SAVE,
-                                 WM_FILESEL_FILEPATH,
+                                 WM_FILESEL_FILEPATH | WM_FILESEL_SHOW_PROPS,
                                  FILE_DEFAULTDISPLAY,
                                  FILE_SORT_ALPHA);



More information about the Bf-blender-cvs mailing list