WIP: UI: Add Drag & Drop Feedback on Windows #107056

Draft
Guillermo Venegas wants to merge 3 commits from guishe/blender:drag-and-drop-update into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.

3 Commits

Author SHA1 Message Date
Guillermo Venegas a402e5c94d UI: Add Drag & Drop Feedback on Windows and x11
On Windows and x11, Drag & Drop data can be obtained when the
mouse enters in a window. This data can be used to provide feedback to
the user, for example, if the data contains a file path, it can be
displayed if an operation can be performed on the file on drop.
2023-05-02 09:52:08 -06:00
Guillermo Venegas 2650becbb7 IO: Add support for multiple DragAndDrop files
There are operators in blender that allow the user to import multiple
files at the same time, however this functionality is only implemented
when importing with blender's file browser, drag and drop only imports
the first selected file.

The patch adds support for drag and drop multiple files from external
windows.

Notes:
1. The files are filtered according to the extension of the first
selected file.
2. Not all operators that import files support importing multiple files,
so they will still import one.
2023-04-21 18:28:21 -06:00
Guillermo Venegas 10933d0d27 UI: Import obj files by drag and drop
The patch allows users to quickly import obj files by drag and drop. For
quick setup of the import, a popup dialog is displayed allowing the user
to configure the import or use a operator preset.
2023-04-21 13:06:02 -06:00