Collection IO: Enable file exporters to be specified on Collections #116646
|
@ -2414,7 +2414,7 @@ void uiTemplateCollectionExporters(uiLayout *layout, bContext *C)
|
|||
|
||||
PointerRNA io_handler_ptr = RNA_pointer_create(&collection->id, &RNA_IOHandlerData, data);
|
||||
|
||||
PanelLayout panel = uiLayoutPanelWithHeader(C, layout, &io_handler_ptr, "is_open");
|
||||
PanelLayout panel = uiLayoutPanelProp(C, layout, &io_handler_ptr, "is_open");
|
||||
draw_export_controls(panel.header, fh->label, index);
|
||||
if (panel.body) {
|
||||
draw_export_properties(C, panel.body, &collection->id, ot, data);
|
||||
|
|
|
@ -79,6 +79,7 @@ struct USDExportParams {
|
|||
bool overwrite_textures = true;
|
||||
bool relative_paths = true;
|
||||
char root_prim_path[1024] = ""; /* FILE_MAX */
|
||||
char collection[MAX_IDPROP_NAME] = "";
|
||||
|
||||
/** Communication structure between the wmJob management code and the worker code. Currently used
|
||||
* to generate safely reports from the worker thread. */
|
||||
|
|
Loading…
Reference in New Issue