Blender Git Loki
Git Commits -> Revision 897f35c
Revision 897f35c by Julian Eisel (asset-browser) August 28, 2020, 13:52 (GMT) |
Support dragging assets from Asset Browser into viewport This should work for objects, groups, materials, images. It can be added for more data-block types. The Asset Browser UI code basically forwards some asset information (like the path) to the general UI code. This can then append the asset's data-block once dropping it into the viewport. |
Commit Details:
Full Hash: 897f35cd18debd2db86bf058c0c97cfc2765725a
Parent Commit: 24f1c94
Lines Changed: +184, -53
10 Modified Paths:
/source/blender/editors/include/UI_interface.h (+7, -0) (Diff)
/source/blender/editors/interface/interface.c (+31, -6) (Diff)
/source/blender/editors/interface/interface_handlers.c (+3, -0) (Diff)
/source/blender/editors/space_file/filelist.c (+8, -8) (Diff)
/source/blender/editors/space_file/file_draw.c (+34, -13) (Diff)
/source/blender/editors/space_view3d/space_view3d.c (+6, -6) (Diff)
/source/blender/makesdna/DNA_space_types.h (+3, -2) (Diff)
/source/blender/windowmanager/intern/wm_dragdrop.c (+75, -13) (Diff)
/source/blender/windowmanager/WM_api.h (+4, -0) (Diff)
/source/blender/windowmanager/WM_types.h (+13, -5) (Diff)
/source/blender/editors/interface/interface.c (+31, -6) (Diff)
/source/blender/editors/interface/interface_handlers.c (+3, -0) (Diff)
/source/blender/editors/space_file/filelist.c (+8, -8) (Diff)
/source/blender/editors/space_file/file_draw.c (+34, -13) (Diff)
/source/blender/editors/space_view3d/space_view3d.c (+6, -6) (Diff)
/source/blender/makesdna/DNA_space_types.h (+3, -2) (Diff)
/source/blender/windowmanager/intern/wm_dragdrop.c (+75, -13) (Diff)
/source/blender/windowmanager/WM_api.h (+4, -0) (Diff)
/source/blender/windowmanager/WM_types.h (+13, -5) (Diff)